mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
Fix for touch event issue #240
This commit is contained in:
parent
5ce3da2548
commit
9928a6d925
@ -1020,7 +1020,7 @@
|
|||||||
function onMouseUpCaptured( tracker, event, noRelease, isTouch ) {
|
function onMouseUpCaptured( tracker, event, noRelease, isTouch ) {
|
||||||
isTouch = isTouch || false;
|
isTouch = isTouch || false;
|
||||||
|
|
||||||
if ( !THIS[ tracker.hash ].insideElement ) {
|
if ( !THIS[ tracker.hash ].insideElement || isTouch ) {
|
||||||
onMouseUp( tracker, event, isTouch );
|
onMouseUp( tracker, event, isTouch );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user