From 17bae372a1c7448821b972d565fd6968adaac7a3 Mon Sep 17 00:00:00 2001 From: xintaofei Date: Mon, 13 Apr 2026 09:38:37 +0800 Subject: [PATCH] fix(macos): adjust traffic-light Y baseline from 18 to 17 for better vertical alignment Co-Authored-By: Claude Opus 4.6 (1M context) --- src-tauri/src/commands/windows.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/commands/windows.rs b/src-tauri/src/commands/windows.rs index 5da043e..bc2041d 100644 --- a/src-tauri/src/commands/windows.rs +++ b/src-tauri/src/commands/windows.rs @@ -13,7 +13,7 @@ use crate::models::FolderHistoryEntry; #[cfg(target_os = "macos")] const TRAFFIC_LIGHT_X: f64 = 12.0; #[cfg(target_os = "macos")] -const TRAFFIC_LIGHT_Y: f64 = 18.0; +const TRAFFIC_LIGHT_Y: f64 = 17.0; #[cfg(target_os = "macos")] static CURRENT_ZOOM: AtomicU32 = AtomicU32::new(100);