fix(pulseaudio): allow to scroll to 0

This commit is contained in:
Alex 2019-05-21 09:29:39 +02:00
parent 12a251c3a4
commit cf7663153d

View File

@ -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);
}
}