mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-02-16 23:03:13 +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 ){
|
event.changedTouches.length == 1 ){
|
||||||
|
|
||||||
THIS[ tracker.hash ].lastTouch = null;
|
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 ] );
|
onMouseOut( tracker, event.changedTouches[ 0 ] );
|
||||||
}
|
}
|
||||||
if( event.touches.length + event.changedTouches.length == 2 ){
|
if( event.touches.length + event.changedTouches.length == 2 ){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user