UMN-LATIS / leaflet-treering

Use link below to test non-released changes.
https://umn-latis.github.io/leaflet-treering/
0 stars 0 forks source link

new button to show dialogue box w keyboard shortcuts #95

Closed dendrodan closed 3 years ago

dendrodan commented 3 years ago

Considering to add a new button to the button bar in popout/measuring mode that would open a basic dialogue containing text for the current keyboard shortcuts. I suppose this would go after the gear wheel and before the undo/redo button. And this should close when the user clicks away from it.

Thinking text like:

Keyboard Shortcuts: Ctrl-z = toggle magnification loupe on/off Ctrl-m = toggle measurement tool on/off Right click or Ctrl-click = End measurement path OR resume measuring from last point Ctrl-s = save changes to cloud (permissions permitting) Ctrl-a = create new annotation Ctrl-i = toggle insert a point tool on/off Arrows = panning up/down/left right Shift-Arrows = slow panning Shift = disable panning when cursor is near edge

dendrodan commented 3 years ago

A few updates. Jess implemented the moveable/user closable dialogue box, which works well.

To not add to visual clutter, we should move this keyboard shortcut button to a drop down in the gear wheel menu.

Finally, I've updated the text above, with a reduced set of options that seem to be universal across OS and browsers.