mirror of
https://github.com/rad4day/Waybar.git
synced 2025-07-20 01:42:38 +02:00
fix(pulseaudio): allow to scroll to 0
This commit is contained in:
@@ -108,7 +108,7 @@ bool waybar::modules::Pulseaudio::handleVolume(GdkEventScroll *e) {
|
||||
pa_cvolume_inc(&pa_volume, change);
|
||||
}
|
||||
} else {
|
||||
if (volume_ - 1 > 0) {
|
||||
if (volume_ - 1 >= 0) {
|
||||
pa_cvolume_dec(&pa_volume, change);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user