mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
fix scroll panel to change volume
This commit is contained in:
2
panel.js
2
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user