Ignoring touchMove if we didn't get the touchStart

This commit is contained in:
Ian Gilman 2013-08-16 10:09:49 -07:00
parent 26ad522f59
commit 96c14f7617

View File

@ -993,6 +993,10 @@
touchB, touchB,
pinchDelta; pinchDelta;
if ( !THIS[ tracker.hash ].lastTouch ) {
return;
}
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 &&