Removed 'position' property from MouseTracker keyDownHandler/keyUpHandler/keyHandler functions

Positional data is not available in the corresponding DOM event objects
This commit is contained in:
Mark Salsbery 2015-01-20 09:48:28 -08:00
parent 2bd105042a
commit e87020cf78

View File

@ -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,