diff --git a/intellihide.js b/intellihide.js index 60a4c49..8fc4cd7 100644 --- a/intellihide.js +++ b/intellihide.js @@ -381,8 +381,12 @@ var Intellihide = new Lang.Class({ return false; }, + _adjustDynamicTransparency: function() { + this._invokeIfExists(this._dtpPanel.panel._updateSolidStyle); + }, + _revealPanel: function(immediate) { - this._animatePanel(0, immediate, () => this._invokeIfExists(this._dtpPanel.panel._updateSolidStyle)); + this._animatePanel(0, immediate, this._adjustDynamicTransparency); }, _hidePanel: function(immediate) { diff --git a/panel.js b/panel.js index 8fe3de7..a3d0906 100644 --- a/panel.js +++ b/panel.js @@ -197,6 +197,11 @@ var dtpPanel = new Lang.Class({ Main.overview.dashIconSize = this.taskbar.iconSize; }) ], + [ + Main.overview, + 'hidden', + () => this.panel._updateSolidStyle ? this.panel._updateSolidStyle() : null + ], [ this.panel._rightBox, 'actor-added',