mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Work around scroll adjustment moved to workspaces display #785
This commit is contained in:
@@ -403,7 +403,7 @@ var dtpPanelManager = Utils.defineClass({
|
||||
view = new WorkspacesView.WorkspacesView(i);
|
||||
|
||||
view.actor.connect('scroll-event', this._onScrollEvent.bind(this));
|
||||
if (i == Main.layoutManager.primaryIndex) {
|
||||
if (i == Main.layoutManager.primaryIndex && view.scrollAdjustment) {
|
||||
this._scrollAdjustment = view.scrollAdjustment;
|
||||
this._scrollAdjustment.connect('notify::value',
|
||||
this._scrollValueChanged.bind(this));
|
||||
|
||||
Reference in New Issue
Block a user