diff options
| author | Mitchell Hashimoto <m@mitchellh.com> | 2025-09-29 10:21:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-29 10:21:36 -0700 |
| commit | a2663692bb2e4e3ece3cf5fab15365d524fcc6dd (patch) | |
| tree | 60bdc9ccb83c0151e01673b884b88c75684b20e5 /src/font/Collection.zig | |
| parent | 958751e12c1c26f873bc5d32c6b6b4be6af82e93 (diff) | |
| parent | 10316297412e9a57dbfbdc19b7fdff66e17b2a60 (diff) | |
feat: enable scaling mouse-scroll-multiplier for both precision and discrete scrolling (#8927)
Resolves Issue: #8670
Now precision and discrete scrolling can be scaled independently.
Supports following configuration,
```code
# Apply everywhere
mouse-scroll-multiplier = 3
# Apply separately
mouse-scroll-multiplier = precision:0.1,discrete:3 (default)
# Also it's order agnostic
mouse-scroll-multiplier = discrete:3,precision:2
# Apply one, default other
mouse-scroll-multiplier = precision:2
```
The default precision value is set 0.1, as it felt natural to me at
least on my track-pad. I've also set the min clamp value precision to
0.1 as 0.01 felt kind of useless to me but I'm unsure.
Diffstat (limited to 'src/font/Collection.zig')
0 files changed, 0 insertions, 0 deletions
