mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 13:16:10 +03:00
Merge pull request #573 from msalsbery/mousetracker_keyevents
Removed 'position' property from MouseTracker keyDownHandler/keyUpHandle...
This commit is contained in:
commit
54ad0502e7
@ -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:
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user