Merge pull request #573 from msalsbery/mousetracker_keyevents

Removed 'position' property from MouseTracker keyDownHandler/keyUpHandle...
This commit is contained in:
Ian Gilman 2015-01-20 11:31:09 -08:00
commit 54ad0502e7
2 changed files with 1 additions and 3 deletions

View File

@ -20,6 +20,7 @@ OPENSEADRAGON CHANGELOG
* Requesting keyboard focus when viewer is clicked (#537) * Requesting keyboard focus when viewer is clicked (#537)
* Arrow key navigation fixed across platforms (#565) * Arrow key navigation fixed across platforms (#565)
* Removed textarea element from viewer DOM. Viewer.canvas now handles keyboard navigation (#569) * Removed textarea element from viewer DOM. Viewer.canvas now handles keyboard navigation (#569)
* Removed 'position' property from MouseTracker keyDownHandler/keyUpHandler/keyHandler functions (#573)
1.2.0: 1.2.0:

View File

@ -1518,7 +1518,6 @@
propagate = tracker.keyDownHandler( propagate = tracker.keyDownHandler(
{ {
eventSource: tracker, eventSource: tracker,
position: getMouseRelative( event, tracker.element ),
keyCode: event.keyCode ? event.keyCode : event.charCode, keyCode: event.keyCode ? event.keyCode : event.charCode,
ctrl: event.ctrlKey, ctrl: event.ctrlKey,
shift: event.shiftKey, shift: event.shiftKey,
@ -1548,7 +1547,6 @@
propagate = tracker.keyUpHandler( propagate = tracker.keyUpHandler(
{ {
eventSource: tracker, eventSource: tracker,
position: getMouseRelative( event, tracker.element ),
keyCode: event.keyCode ? event.keyCode : event.charCode, keyCode: event.keyCode ? event.keyCode : event.charCode,
ctrl: event.ctrlKey, ctrl: event.ctrlKey,
shift: event.shiftKey, shift: event.shiftKey,
@ -1578,7 +1576,6 @@
propagate = tracker.keyHandler( propagate = tracker.keyHandler(
{ {
eventSource: tracker, eventSource: tracker,
position: getMouseRelative( event, tracker.element ),
keyCode: event.keyCode ? event.keyCode : event.charCode, keyCode: event.keyCode ? event.keyCode : event.charCode,
ctrl: event.ctrlKey, ctrl: event.ctrlKey,
shift: event.shiftKey, shift: event.shiftKey,