From c5319a3237ea3090ff1b5a9fd9c56026f53e43ad Mon Sep 17 00:00:00 2001 From: CJ Pais Date: Fri, 1 Aug 2025 21:13:46 -0700 Subject: [PATCH] tweak position on windows --- src-tauri/src/utils.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src-tauri/src/utils.rs b/src-tauri/src/utils.rs index d440745..eae3d25 100644 --- a/src-tauri/src/utils.rs +++ b/src-tauri/src/utils.rs @@ -327,6 +327,10 @@ pub fn create_recording_overlay(app_handle: &AppHandle) { const OVERLAY_WIDTH: f64 = 172.0; const OVERLAY_HEIGHT: f64 = 00.0; + // Platform-specific bottom offset + #[cfg(target_os = "windows")] + const OVERLAY_BOTTOM_OFFSET: f64 = 46.0; + #[cfg(any(target_os = "macos", target_os = "linux"))] const OVERLAY_BOTTOM_OFFSET: f64 = 12.0; let work_area = monitor.work_area();