Fix mousestop event on IE

This commit is contained in:
Antoine Vandecreme 2013-10-31 16:16:08 -04:00
parent 542d5f5aeb
commit 3f5db8f8de

View File

@ -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
} );
}