ardaku / alloy

A fast and minimalistic image viewer forked from the now discontinued emulsion.
MIT License
16 stars 5 forks source link

Zooming Non-Intuitively Moves Image #17

Open AldaronLau opened 2 years ago

AldaronLau commented 2 years ago

https://github.com/ArturKovacs/emulsion/issues/178

There should be a GUI toggle for turning on and off whether zooming uses the mouse position to move the image around, or fix the position while zooming. This preference should persist across program restarts.

Related, there should be a keyboard shortcut for zooming in and out (either Ctrl +, Ctrl -, or +, -)

AldaronLau commented 2 years ago

With further thought, I'm not sure the toggle is such a good idea. The addition of keyboard shortcuts that don't take into account mouse position are probably sufficient, while keeping scroll to zoom functionality consistent with how it is now. Although maybe still add ctrl+scroll as an alternative.