Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more
fix(overlay): flush window ordering on immediate hide
altic-dev0be79c905350
diff --git a/Sources/Fluid/Views/BottomOverlayView.swift b/Sources/Fluid/Views/BottomOverlayView.swiftindex 909cfd2e..706f8735 100644--- a/Sources/Fluid/Views/BottomOverlayView.swift+++ b/Sources/Fluid/Views/BottomOverlayView.swift@@ -192,6 +192,9 @@ final class BottomOverlayWindowController {self.window?.alphaValue = 0Self.overlayBench("bottom_hide_alpha_return elapsedMs=\(Self.elapsedMs(since: startedAt))")self.window?.orderOut(nil)+ // Ordering changes ride the current CA transaction. Commit now so the panel+ // leaves the screen with the paste instead of when main next goes idle.+ CATransaction.flush()Self.overlayBench("bottom_hide_order_out_return elapsedMs=\(Self.elapsedMs(since: startedAt))")waiters.forEach { $0.resume(returning: .hidden) }@@ -207,6 +210,7 @@ final class BottomOverlayWindowController {self.parkWindowOffscreen()self.window?.alphaValue = 1self.window?.orderFrontRegardless()+ CATransaction.flush()}}