From fc5a0885f3eaa5e5ff8913a2f9958c92cb5cfc19 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Tue, 26 Mar 2024 15:40:16 +0100 Subject: [PATCH] Fix visual glitches in titlebar when there's an active prompt It looks like a fractional traffic lights position doesn't play well with Mac 12+. Related to #7339 and #8128 --- crates/zed/src/zed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/zed/src/zed.rs b/crates/zed/src/zed.rs index 7ee37d27ad..9115af2813 100644 --- a/crates/zed/src/zed.rs +++ b/crates/zed/src/zed.rs @@ -95,7 +95,7 @@ pub fn build_window_options(display_uuid: Option, cx: &mut AppContext) -> titlebar: Some(TitlebarOptions { title: None, appears_transparent: true, - traffic_light_position: Some(point(px(9.5), px(9.5))), + traffic_light_position: Some(point(px(9.0), px(9.0))), }), bounds: None, focus: false,