mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Fix peek when closing grouped previews
This commit is contained in:
@@ -874,13 +874,16 @@ var Preview = Utils.defineClass({
|
||||
},
|
||||
|
||||
_onCloseBtnClick: function() {
|
||||
this.window.delete(global.get_current_time());
|
||||
this._hideOrShowCloseButton(true);
|
||||
this.reactive = false;
|
||||
|
||||
if (!Me.settings.get_boolean('group-apps')) {
|
||||
this._previewMenu.close();
|
||||
} else {
|
||||
this._previewMenu.endPeekHere();
|
||||
}
|
||||
|
||||
this.window.delete(global.get_current_time());
|
||||
},
|
||||
|
||||
_onButtonReleaseEvent: function(e) {
|
||||
|
||||
Reference in New Issue
Block a user