Skip to content

Commit 77fc22f

Browse files
bug: previews stop if active app has 0 windows
1 parent 9c2122b commit 77fc22f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ScriptCommands/showAppScriptCommand.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class showAppScriptCommand: NSScriptCommand {
6969
App.app.isFirstSummon = false
7070
App.app.shortcutIndex = 2 // Shortcut 3 = index 2 = DockAltTab
7171
NSScreen.updatePreferred()
72-
if !Windows.updatesBeforeShowing() { App.app.hideUi(); return self }
72+
// if !Windows.updatesBeforeShowing() { App.app.hideUi(); return self } //commented out since active app = 0 windows = no previews for any tarApp, and modifying updatesBeforeShowing leads to keeping thumbnailsPanel open with 0 thumbnails (empty grey window)
7373

7474
// Windows.detectTabbedWindows()
7575
// Spaces.refreshAllIdsAndIndexes()

0 commit comments

Comments
 (0)