Skip to content

Commit

Permalink
Fix visual glitches in titlebar when there's an active prompt
Browse files Browse the repository at this point in the history
It looks like a fractional traffic lights position doesn't play well with Mac 12+.
Related to #7339 and #8128
  • Loading branch information
osiewicz committed Mar 26, 2024
1 parent dbcff2a commit fc5a088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/zed/src/zed.rs
Expand Up @@ -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,
Expand Down

0 comments on commit fc5a088

Please sign in to comment.