perf: improve hiding the ui
This commit is contained in:
1 parent
db314c9948
commit
4f5e32593b
1 file changed
+2
@@ -52,6 +52,8 @@ class ThumbnailsPanel: NSPanel {
|
||||
completionHandler: { super.orderOut(sender) }
|
||||
)
|
||||
} else {
|
||||
// orderOut requires WindowServer. Let's hide before calling it, in case it lags
|
||||
alphaValue = 0
|
||||
super.orderOut(sender)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user