mirror of
https://github.com/morgan9e/dash-to-panel
synced 2026-04-14 00:04:17 +09:00
Fix hotkeys overlay used before intellihide initialization
This commit is contained in:
@@ -344,6 +344,11 @@ var dtpOverview = Utils.defineClass({
|
||||
},
|
||||
|
||||
_showOverlay: function(overlayFromShortcut) {
|
||||
//wait for intellihide timeout initialization
|
||||
if (!this._panel.intellihide) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Restart the counting if the shortcut is pressed again
|
||||
if (this._numberOverlayTimeoutId) {
|
||||
Mainloop.source_remove(this._numberOverlayTimeoutId);
|
||||
|
||||
@@ -792,9 +792,9 @@ var thumbnailPreview = Utils.defineClass({
|
||||
}
|
||||
}
|
||||
|
||||
Main.activateWindow(this.window);
|
||||
|
||||
topMenu.close(~0);
|
||||
|
||||
Main.activateWindow(this.window);
|
||||
},
|
||||
|
||||
_onMotionEvent: function() {
|
||||
|
||||
Reference in New Issue
Block a user