mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
fix issue:
onTouchEnd did not call the correct mouse up handler
This commit is contained in:
parent
d941cee953
commit
8108009ba7
@ -789,7 +789,13 @@
|
||||
event.changedTouches.length == 1 ){
|
||||
|
||||
THIS[ tracker.hash ].lastTouch = null;
|
||||
onMouseUp( tracker, event.changedTouches[ 0 ] );
|
||||
|
||||
if ($.Browser.vendor == $.BROWSERS.IE && $.Browser.version < 9) {
|
||||
onMouseUpIE(tracker, event);
|
||||
} else {
|
||||
onMouseUpWindow(tracker, event);
|
||||
}
|
||||
|
||||
onMouseOut( tracker, event.changedTouches[ 0 ] );
|
||||
}
|
||||
if( event.touches.length + event.changedTouches.length == 2 ){
|
||||
|
Loading…
Reference in New Issue
Block a user