Fix visual glitches in titlebar when there's an active prompt

Piotr Osiewicz created

It looks like a fractional traffic lights position doesn't play well with Mac 12+.
Related to #7339 and #8128

Change summary

crates/zed/src/zed.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

crates/zed/src/zed.rs 🔗

@@ -95,7 +95,7 @@ pub fn build_window_options(display_uuid: Option<Uuid>, 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,