fix: bring back the window delay that regressed with v2
This commit is contained in:
1 parent
fdddb0f8ed
commit
bb95e55e02
1 file changed
+4
-2
@@ -92,8 +92,10 @@ class App: NSApplication, NSApplicationDelegate, NSWindowDelegate {
|
|||||||
Windows.refreshAllThumbnails()
|
Windows.refreshAllThumbnails()
|
||||||
Windows.focusedWindowIndex = 0
|
Windows.focusedWindowIndex = 0
|
||||||
Windows.cycleFocusedWindowIndex(step)
|
Windows.cycleFocusedWindowIndex(step)
|
||||||
refreshOpenUi()
|
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + Preferences.windowDisplayDelay!, execute: {
|
||||||
if uiWorkShouldBeDone { thumbnailsPanel?.show() }
|
self.refreshOpenUi()
|
||||||
|
if self.uiWorkShouldBeDone { self.thumbnailsPanel?.show() }
|
||||||
|
})
|
||||||
} else {
|
} else {
|
||||||
debugPrint("showUiOrCycleSelection: !isFirstSummon")
|
debugPrint("showUiOrCycleSelection: !isFirstSummon")
|
||||||
cycleSelection(step)
|
cycleSelection(step)
|
||||||
|
|||||||
Reference in new issue
Block a user