mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-17 23:33:14 +03:00
Merge pull request #188 from iangilman/touch
Ignoring touchMove if we didn't get the touchStart
This commit is contained in:
commit
dde052a22a
@ -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 &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user