diff --git a/apps/desktop/src-tauri/src/windows.rs b/apps/desktop/src-tauri/src/windows.rs index 5ceb1ce9..e70ffef4 100644 --- a/apps/desktop/src-tauri/src/windows.rs +++ b/apps/desktop/src-tauri/src/windows.rs @@ -92,7 +92,7 @@ impl CapWindowId { pub fn traffic_lights_position(&self) -> Option>> { match self { Self::Camera | Self::WindowCaptureOccluder | Self::PrevRecordings => None, - Self::Editor { .. } => Some(Some(LogicalPosition::new(20.0, 48.0))), + Self::Editor { .. } => Some(Some(LogicalPosition::new(20.0, 40.5))), Self::InProgressRecording => Some(Some(LogicalPosition::new(-100.0, -100.0))), _ => Some(None), } diff --git a/apps/desktop/src/routes/editor/Header.tsx b/apps/desktop/src/routes/editor/Header.tsx index da54a4ab..3d997702 100644 --- a/apps/desktop/src/routes/editor/Header.tsx +++ b/apps/desktop/src/routes/editor/Header.tsx @@ -21,7 +21,7 @@ export function Header() { onMount(async () => { unlistenTitlebar = await initializeTitlebar(); - commands.positionTrafficLights([20.0, 48.0]); + commands.positionTrafficLights([20.0, 40.5]); }); onCleanup(() => { @@ -63,9 +63,9 @@ function ExportButton() { const [state, setState] = createStore< | { open: false; type: "idle" } | ({ open: boolean } & ( - | { type: "inProgress"; progress: number; totalFrames: number } - | { type: "finished"; path: string } - )) + | { type: "inProgress"; progress: number; totalFrames: number } + | { type: "finished"; path: string } + )) >({ open: false, type: "idle" }); return (