liveAltTab: fix abort

This commit is contained in:
Tor Hedin Brønner
2020-02-25 10:44:00 +01:00
parent aa76906d0f
commit dce11d0c8b
+2 -2
View File
@@ -142,12 +142,12 @@ class LiveAltTab extends AltTab.WindowSwitcherPopup {
}
_onDestroy() {
super._onDestroy();
debug('#preview', 'onDestroy', this.was_accepted);
if(!this.was_accepted) {
// Select the starting window
this._select(0);
}
super._onDestroy();
debug('#preview', 'onDestroy', this.was_accepted);
Tweener.addTween(this.fog, {
time: prefs.animation_time,
opacity: 0,