chnm / Datascribe-module

An Omeka S module for the transcription of structured data.
GNU General Public License v3.0
15 stars 4 forks source link

Testing: Using arrow keys to pan image #73

Closed jimsafley closed 4 years ago

jimsafley commented 4 years ago

On the master branch, you can now pan the image using the arrow keys when the panzoom container is in focus (#62). You can focus the container by tabbing to it or clicking on it. Once the container is out of focus, the arrow keys should revert back to their default behavior, whatever that is for the browser. When using the arrow keys, does the image pan too slowly? I could speed it up.

mebrett commented 4 years ago

Works fine for me. The pan speed is good for me - much faster and I might overshoot my goal. I'd like to get a few more eyes on this, but I think it's good.

Funny sidenote - I'm so used to finger scrolling that I initially used the keys in the wrong direction (pressing the up arrow to go down). I think that's user error and it does not make sense to switch things around. Just a sign of the dominance of smartphone interfaces.

jmotis commented 4 years ago

Also some of us set up our smartphone interfaces so that they match keyboard scrolling instead of being backwards ;-)