Merge pull request #370 from charlesg99/fix-exit-overview-transparency

Ensure the adjustment of the dynamic transparency when exiting the ov…
This commit is contained in:
Jason DeRose
2018-04-02 10:25:23 -04:00
committed by GitHub
2 changed files with 10 additions and 1 deletions

View File

@@ -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) {

View File

@@ -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',