Merge pull request #19 from h4l/android-compat

Fix handling of touchmove events on Android
This commit is contained in:
iangilman 2013-02-26 10:45:31 -08:00
commit 72d5ee8fb8

View File

@ -943,7 +943,7 @@
if( event.touches.length === 1 && if( event.touches.length === 1 &&
event.targetTouches.length === 1 && event.targetTouches.length === 1 &&
event.changedTouches.length === 1 && event.changedTouches.length === 1 &&
THIS[ tracker.hash ].lastTouch === event.touches[ 0 ]){ THIS[ tracker.hash ].lastTouch.identifier === event.touches[ 0 ].identifier){
onMouseMove( tracker, event.touches[ 0 ] ); onMouseMove( tracker, event.touches[ 0 ] );