We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86f4404 commit 08580abCopy full SHA for 08580ab
windowPreview.js
@@ -59,13 +59,13 @@ const WindowPreviewMenu = new Lang.Class({
59
this._arrowSide = side;
60
this._boxPointer._arrowSide = side;
61
this._boxPointer._userArrowSide = side;
62
-
63
- this._previewBox = new WindowPreviewList(this._source, this._dtdSettings);
64
- this.addMenuItem(this._previewBox);
65
},
66
67
_redisplay: function() {
68
- this._previewBox._shownInitially = false;
+ if (this._previewBox)
+ this._previewBox.destroy();
+ this._previewBox = new WindowPreviewList(this._source, this._dtdSettings);
+ this.addMenuItem(this._previewBox);
69
this._previewBox._redisplay();
70
71
0 commit comments