Destroy workspaces background when exiting overlay mode
Otherwise, we kept adding new backgrounds which was breaking the overlay mode when it was re-entered.
This commit is contained in:
parent
009a8b3a04
commit
b39bc62171
@ -685,6 +685,9 @@ Overlay.prototype = {
|
|||||||
this._workspaces.destroy();
|
this._workspaces.destroy();
|
||||||
this._workspaces = null;
|
this._workspaces = null;
|
||||||
|
|
||||||
|
this._workspacesBackground.destroy();
|
||||||
|
this._workspacesBackground = null;
|
||||||
|
|
||||||
this._sideshow.hide();
|
this._sideshow.hide();
|
||||||
this._group.hide();
|
this._group.hide();
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user