mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 01:15:55 +03:00
[PR #604] add volume modification by mouse scrolling #1747
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#1747
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/aome510/spotify-player/pull/604
Author: @VladWero08
Created: 11/10/2024
Status: 🔄 Open
Base:
master← Head:scroll-volume📝 Commits (1)
d9cee5dadd volume modification by mouse scrolling📊 Changes
3 files changed (+60 additions, -19 deletions)
View changed files
📝
spotify_player/src/client/mod.rs(+14 -0)📝
spotify_player/src/client/request.rs(+2 -0)📝
spotify_player/src/event/mod.rs(+44 -19)📄 Description
Resolves #446
In this PR we have added two more mouse event listeners, for scroll up and for scroll down of the mouse's wheel. This event listeners should only work if the keymap.toml has the following two entries:
where m s u stands for MouseScrollUp and m s d for MouseScrollDown.
Instead of mixing the key_sequence configuration with the mouse movements, we think that it would be useful to have a separate configuration for mouse events.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.