mbrlabs / Lorien

Infinite canvas drawing/whiteboarding app for Windows, Linux and macOS. Made with Godot.
MIT License
5.54k stars 240 forks source link

Add alternative hotkey for panning the view #147

Closed popcar2 closed 2 months ago

popcar2 commented 2 years ago

Feature/enhancement description: Right now the only way you can pan the camera is with the middle mouse button. There doesn't seem to be an alternative for people who are using touchpads (laptop).

There should be an alternative like ctrl + left mouse or shift + left mouse for people with faulty middle mouse buttons or no mouse.

mbrlabs commented 2 years ago

Are you using a drawing tablet? If so you can map the middle mouse button to one of the pen's keys. That's how i pan with a tablet.

But i agree that there should be some kind of fallback mechanism.

popcar2 commented 2 years ago

I use a mouse mainly, but when my mouse wasn't next to me I used my touchpad a little bit and was surprised there isn't a different way to pan.

jn64 commented 2 years ago

Spacebar is commonly used for panning in other image editors/viewers. Maybe it could work on top of the current function, where keydown centers the view on the cursor, and holding it allows you to pan with mouse.

mbrlabs commented 2 months ago

Implemented in #278