mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-01-31 23:21:42 +03:00
Merge pull request #19 from h4l/android-compat
Fix handling of touchmove events on Android
This commit is contained in:
commit
72d5ee8fb8
@ -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 ] );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user