menpo / landmarker.io

Image and mesh annotation web application
https://www.landmarker.io
BSD 3-Clause "New" or "Revised" License
114 stars 21 forks source link

Mouse wheel shortcut to change the landmark's size #111

Open csagonas opened 9 years ago

csagonas commented 9 years ago

Notes by @jabooth: Landmark size is currently normalised by the total size of the asset. This is pretty much the most sensible thing we can do, but does mean that in the cases of image databases the perceptive size of the landmarks can change quite a lot between different assets (as the object being annotated is sometimes larger or smaller in the frame of the asset).

As a result, it's quite common that the user needs to make little adjustments to the landmark scale frequently. This currently requires mousing down to the bottom left of the UI.

Maybe we could have a keyboard modifier + wheel shortcut for landmark size? Say ctrl + wheel?

lirsacc commented 9 years ago

+ and - keyboard shortcuts already exists for this (maybe not documented in help)

jabooth commented 9 years ago

Ah yes indeed they are - just missing from the help screen.

lirsacc commented 9 years ago

Just thinking, but maybe an hybrid of what you suggested without a keyboard modifier, but we could add scrolling over the range element to resize as well. I feel it's now a pretty standard behaviour that people would expect. What do you think ?

jabooth commented 9 years ago

Ah that's a nice idea actually, I like it!

lirsacc commented 9 years ago

Cool, I'll try and get it working in the morning then.

EDIT: First version in https://github.com/menpo/landmarker.io/tree/scroll-landmark-size. Not as smooth as I'd like it to be, but functional.