fix: guarantee alt-tab window is always up-to-date on display

This commit is contained in:
Louis Pontoise authored and lwouis committed 2020-08-27 22:44:40 +09:00
1 parent c2bb89625e
commit be4c5f1903
1 file changed
+1
+1
View File
@@ -188,6 +188,7 @@ class App: AppCenterApplication, NSApplicationDelegate {
thumbnailsPanel.thumbnailsView.updateItemsAndLayout(currentScreen)
guard appIsBeingUsed else { return }
thumbnailsPanel.setFrame(thumbnailsPanel.thumbnailsView.frame, display: false)
thumbnailsPanel.display()
guard appIsBeingUsed else { return }
Screen.repositionPanel(thumbnailsPanel, currentScreen, .appleCentered)
}