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