From 3fe3eddc003991820bc4af783c4a812f208cdffc Mon Sep 17 00:00:00 2001 From: Philipp Unger Date: Sun, 3 Sep 2023 20:54:33 +0200 Subject: [PATCH] fix scroll panel to change volume --- panel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panel.js b/panel.js index 240643f..35a36ba 100644 --- a/panel.js +++ b/panel.js @@ -1217,7 +1217,7 @@ export var Panel = GObject.registerClass({ Utils.activateSiblingWindow(windows, direction); } else if (scrollAction === 'CHANGE_VOLUME' && !event.is_pointer_emulated()) { - let proto = Volume.Indicator.prototype; + let proto = Volume.OutputIndicator.prototype; let func = proto._handleScrollEvent || proto.vfunc_scroll_event || proto._onScrollEvent; let indicator = Main.panel.statusArea[Utils.getSystemMenuInfo().name]._volumeOutput;