mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix(pulseaudio): allow to scroll to 0
This commit is contained in:
parent
12a251c3a4
commit
cf7663153d
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user