From e87020cf7868689b3a55584b60cc6b275d1531d3 Mon Sep 17 00:00:00 2001 From: Mark Salsbery Date: Tue, 20 Jan 2015 09:48:28 -0800 Subject: [PATCH] Removed 'position' property from MouseTracker keyDownHandler/keyUpHandler/keyHandler functions Positional data is not available in the corresponding DOM event objects --- src/mousetracker.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mousetracker.js b/src/mousetracker.js index 9e8f25ef..86e87076 100644 --- a/src/mousetracker.js +++ b/src/mousetracker.js @@ -1518,7 +1518,6 @@ propagate = tracker.keyDownHandler( { eventSource: tracker, - position: getMouseRelative( event, tracker.element ), keyCode: event.keyCode ? event.keyCode : event.charCode, ctrl: event.ctrlKey, shift: event.shiftKey, @@ -1548,7 +1547,6 @@ propagate = tracker.keyUpHandler( { eventSource: tracker, - position: getMouseRelative( event, tracker.element ), keyCode: event.keyCode ? event.keyCode : event.charCode, ctrl: event.ctrlKey, shift: event.shiftKey, @@ -1578,7 +1576,6 @@ propagate = tracker.keyHandler( { eventSource: tracker, - position: getMouseRelative( event, tracker.element ), keyCode: event.keyCode ? event.keyCode : event.charCode, ctrl: event.ctrlKey, shift: event.shiftKey,