fix: typo

pull/387/head
Alex 2019-06-16 15:13:40 +02:00
parent 1d2dd953e7
commit 05f796158b
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ void waybar::modules::Pulseaudio::contextStateCb(pa_context *c, void *data) {
bool waybar::modules::Pulseaudio::handleScroll(GdkEventScroll *e) { bool waybar::modules::Pulseaudio::handleScroll(GdkEventScroll *e) {
// change the pulse volume only when no user provided // change the pulse volume only when no user provided
// events are configured // events are configured
if (config["on-scroll-up"].isString() || config["on-scroll-down"].isString()) { if (config_["on-scroll-up"].isString() || config_["on-scroll-down"].isString()) {
return AModule::handleScroll(e); return AModule::handleScroll(e);
} }
auto dir = AModule::getScrollDir(e); auto dir = AModule::getScrollDir(e);