fix: hiding window should be on main thread
This commit is contained in:
1 parent
bd92828d42
commit
767f90029e
1 file changed
+3
-1
+3
-1
@@ -66,7 +66,9 @@ class App: NSApplication, NSApplicationDelegate {
|
||||
|
||||
func hideUi() {
|
||||
debugPrint("hideUi")
|
||||
thumbnailsPanel!.orderOut(nil)
|
||||
DispatchQueue.main.async {
|
||||
self.thumbnailsPanel!.orderOut(nil)
|
||||
}
|
||||
appIsBeingUsed = false
|
||||
isFirstSummon = true
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user