mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Fix panel height access on older gnome-shell versions
This commit is contained in:
2
panel.js
2
panel.js
@@ -587,7 +587,7 @@ var dtpPanel = Utils.defineClass({
|
||||
this._myPanelGhost[isOverviewFocusedMonitor ? 'show' : 'hide']();
|
||||
|
||||
if (isOverviewFocusedMonitor) {
|
||||
Utils.getPanelGhost().set_height(this.geom.position == St.Side.TOP ? 0 : Main.panel.height);
|
||||
Utils.getPanelGhost().set_height(this.geom.position == St.Side.TOP ? 0 : Main.panel.actor.height);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user