Merge pull request #159 from ethanli83/master

Fix for onTouchEnd
This commit is contained in:
iangilman 2013-07-12 09:01:31 -07:00
commit 77cf2a3b88

View File

@ -789,7 +789,8 @@
event.changedTouches.length == 1 ){ event.changedTouches.length == 1 ){
THIS[ tracker.hash ].lastTouch = null; THIS[ tracker.hash ].lastTouch = null;
onMouseUp( tracker, event.changedTouches[ 0 ] );
onMouseUpWindow( tracker, event.changedTouches[ 0 ] );
onMouseOut( tracker, event.changedTouches[ 0 ] ); onMouseOut( tracker, event.changedTouches[ 0 ] );
} }
if( event.touches.length + event.changedTouches.length == 2 ){ if( event.touches.length + event.changedTouches.length == 2 ){