Skip to content

Record your screen, ship a demo. Free and open-source, GPU-accelerated, no watermarks, no subscriptions. Windows, macOS, Linux. Actively maintained.

fix(windows): let the top bar's rule run under the window controls

EtienneLescotd378be0ad217
diff --git a/electron/windows.ts b/electron/windows.ts
index d1447cb9b..6f885c1d5 100644
--- a/electron/windows.ts
+++ b/electron/windows.ts
@@ -486,7 +486,9 @@ export function createEditorWindow(query: Record<string, string> = {}): BrowserW
titleBarStyle: "hidden",
...(isMac
? { trafficLightPosition: { x: 18, y: 21 } }
- : { titleBarOverlay: { color: "#09090b", symbolColor: "#a1a1aa", height: 58 } }),
+ : // One pixel short of the 58px topbar, so its bottom rule runs on under the controls
+ // instead of stopping where the overlay starts.
+ { titleBarOverlay: { color: "#09090b", symbolColor: "#a1a1aa", height: 57 } }),
transparent: false,
resizable: true,
alwaysOnTop: false,