seung-lab / neuroglancer

WebGL-based viewer for volumetric data
https://neuromancer-seung-import.appspot.com/
Apache License 2.0
22 stars 10 forks source link

Move annotation key binding not working #579

Open austinhoag opened 2 years ago

austinhoag commented 2 years ago

I am not able to move annotations using alt+mousedown0 on a linux machine with a mouse and on a os x laptop with the trackpad. The linux machine moves my whole browser window when I try this. The OS X laptop lacks an alt key and a mouse so I tried a few permutations of similar keystrokes like command+leftclick but with no luck.

We're interested in developing a similar feature on our fork, so if you could point me to where in the code this is implemented I would appreciate it.

Thanks, Austin

ogewan commented 2 years ago

iirc I believe https://github.com/seung-lab/neuroglancer/blob/008c553a6cd2b5c9b6bd8bab0bb0236a6e01f554/src/neuroglancer/ui/default_input_event_bindings.ts#L98 is what you are looking for