fix scroll panel to change volume

This commit is contained in:
Philipp Unger
2023-09-03 20:54:33 +02:00
parent c4c114d921
commit 3fe3eddc00

View File

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