mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06:09 +03:00
for fix I made to onTouchEnd:
1. remove IE8 related code as it does not support touch anyway 2. use event.changedTouches [ 0 ] rather than event
This commit is contained in:
parent
8108009ba7
commit
0ef98be0b7
@ -790,12 +790,7 @@
|
||||
|
||||
THIS[ tracker.hash ].lastTouch = null;
|
||||
|
||||
if ($.Browser.vendor == $.BROWSERS.IE && $.Browser.version < 9) {
|
||||
onMouseUpIE(tracker, event);
|
||||
} else {
|
||||
onMouseUpWindow(tracker, event);
|
||||
}
|
||||
|
||||
onMouseUpWindow( tracker, event.changedTouches[ 0 ] );
|
||||
onMouseOut( tracker, event.changedTouches[ 0 ] );
|
||||
}
|
||||
if( event.touches.length + event.changedTouches.length == 2 ){
|
||||
|
Loading…
Reference in New Issue
Block a user