Skip to content

Commit 15654be

Browse files
committed
update motion automatically
1 parent d82b46c commit 15654be

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/input/Pointer.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,8 @@ var Pointer = new Class({
641641

642642
this.wasTouch = true;
643643
this.wasCanceled = false;
644+
645+
this.updateMotion();
644646
},
645647

646648
/**
@@ -663,6 +665,8 @@ var Pointer = new Class({
663665
this.moveTime = touch.timeStamp;
664666

665667
this.wasTouch = true;
668+
669+
this.updateMotion();
666670
},
667671

668672
/**
@@ -697,6 +701,8 @@ var Pointer = new Class({
697701
this.wasCanceled = false;
698702

699703
this.active = false;
704+
705+
this.updateMotion();
700706
},
701707

702708
/**

0 commit comments

Comments
 (0)