DCMLab / tree-annotation-code

source code for repository tree-annotation-app
GNU General Public License v3.0
0 stars 2 forks source link

Fix key bindings #1

Closed chfin closed 4 years ago

chfin commented 4 years ago
dharasim commented 4 years ago

Ah, this is a mac keyboard vs other keywords issue, on mac everything is fine. I knew something like this will happen.. Do you have suggestions for something that makes sense and works on your keyboard? It might be a good idea to use different bindings for mac vs the rest.

chfin commented 4 years ago

I think that sticking to letters is probably the best option in this case. Why should you have to press two keys?

On a related note, it would be nice to be able to navigate the tree with the keyboard. Then one could work without using the mouse.

dharasim commented 4 years ago

I think that sticking to letters is probably the best option in this case. Why should you have to press two keys?

I tried that first, but it makes troubles when you are writing into a text field. I didn't know a good way how to fix it otherwise.

On a related note, it would be nice to be able to navigate the tree with the keyboard. Then one could work without using the mouse.

Yes, I also thought about that. The question is how to switch between selected nodes. It might be implementable by remembering the order of the selection and coloring the lastly selected nodes differently. This is, however, low priority for me at the moment. Pull requests are of cause welcome! :D