perf: improve hiding the ui

This commit is contained in:
lwouis committed 2026-02-11 21:35:32 +01:00
1 parent db314c9948
commit 4f5e32593b
1 file changed
+2
+2
View File
@@ -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)
}
}