helge17 / tuxguitar

Improve TuxGuitar and provide builds
Other
304 stars 29 forks source link

Feature Request: MacOS mouse middle click scrolling #353

Open belfie13 opened 2 months ago

belfie13 commented 2 months ago

Just a trivial request.

would be great if side scrolling could be implemented with mouse wheel clicks.

most Apple software doesn't include this feature, I think they prefer if you use their 'magic mouse' but I like my stuff wired. Some apps like the Firefox browser have this implemented on macOS.

an explanation of the function in firefox browser support.mozilla

You enable auto-scroll by clicking the middle mouse (scroll wheel) button on empty space on the website. This makes the auto-scroll icon appear You move the mouse up or down to auto-scroll in that direction.

If you enable smooth scrolling then you scroll by pixel and not by line height, so it is less jumpy but takes more CPU/GPU load.

I went overboard on the following description which is why i added the quote above ^^^:

so standard implementation (in non-apple apps) is to click and hold the mouse wheel whild dragging to move (scroll) the view. also it should have 'scrolling mode' enabled by clicking the mouse wheel, which will continue to track the mouse and scroll until you disable scrolling mode by clicking the mouse wheel again. in scrolling mode there's a mouse pointer with arrows [↔︎]|[↕︎] (depending on which way the view scrolls) that remains at the position where the mouse was clicked, when the mouse moves away from that position, the view scrolls at a rate relative to the distance between the initial position and the mouses current position.