AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

[FeatReq] Setting to change mouse wheel behavior​ (zooming vs scrolling, also MMB for panning)

Open Peeeet opened this issue 1 year ago • 3 comments

Description

The ability to choose how the mouse wheel / middle-mouse-button behaves in edgeless mode. IE the default of scrolling is fine, but we should be able to set it to zoom by default (with no modifier keys depressed) and clicking and holding the middle-mouse-button should be able to grab the page for panning around regardless of what "tool" is selected.

Use case

The current default behavior (scrolling) is fine for the majority of users IE Macbooks and maybe even some Windows laptops with nice trackpads, but for many people using a mouse with a scroll wheel, in other software that operates in an "edgeless" paradigm (CAD software for example) we often use the wheel for zooming and the MMB for panning.

Anything else?

No response

Are you willing to submit a PR?

  • [ ] Yes I'd like to help by submitting a PR!

Peeeet avatar Apr 27 '23 09:04 Peeeet