qvacua / vimr

VimR — Neovim GUI for macOS in Swift
https://twitter.com/VimRefined
MIT License
6.61k stars 218 forks source link

Fix trackpad scrolling #1073

Closed shanesmith closed 3 weeks ago

shanesmith commented 3 weeks ago

The #1015 update introduced a regression in trackpad scrolling where the behaviour was changed from scrolling the window content to moving the cursor.

The <ScrollWheelDIR> inputs are now used for both regular mouse and trackpad scrolling. When trackpad scrolling is detected, however, the mousescroll option is updated (and afterwards restored) to control the scrolling distance.

Fixes #1043

georgeharker commented 3 weeks ago

That's awesome. It was a todo of mine to fix this. Thank you!