mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
Fix mousestop event on IE
This commit is contained in:
parent
542d5f5aeb
commit
3f5db8f8de
@ -1088,15 +1088,13 @@
|
||||
* @private
|
||||
* @inner
|
||||
*/
|
||||
function onMouseStop( tracker, event ) {
|
||||
function onMouseStop( tracker, originalMoveEvent ) {
|
||||
if ( tracker.stopHandler ) {
|
||||
event = $.getEvent( event );
|
||||
|
||||
tracker.stopHandler( {
|
||||
eventSource: tracker,
|
||||
position: getMouseRelative( event, tracker.element ),
|
||||
position: getMouseRelative( originalMoveEvent, tracker.element ),
|
||||
isTouchEvent: false,
|
||||
originalEvent: event,
|
||||
originalEvent: originalMoveEvent,
|
||||
userData: tracker.userData
|
||||
} );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user