Repository navigation
feat(gui): scroll the volume bar to change the volume - #1070
Conversation
the wheel over the volume bar sends the same VolumeUp/VolumeDown step as the arrow keys. deltas add up in a running total on the meter, one step per 100 (a line counts as 100), reset after a 200 ms pause, so a trackpad burst is not a step per event. the seek bar still ignores the wheel. Fixes LargeModGames#1059
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
@all-contributors please add @tridev-tej for code |
|
I've put up a pull request to add @tridev-tej! 🎉 |
Adds @tridev-tej as a contributor for code. This was requested by LargeModGames [in this comment](#1070 (comment)) [skip ci] --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
scrolling over the volume bar in the gui did nothing. the volume meter now takes an optional onWheelStep and sends the same VolumeUp/VolumeDown as the arrow keys. wheel deltas add up on the meter: one step per 100 (a line counts as 100), the total resets after a 200 ms pause, so a trackpad burst isn't a step per event. seek bar unchanged. ran lint, format:check, typecheck, test and build in gui/.
Fixes #1059
Summary by CodeRabbit