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
This commit is contained in:
@@ -95,7 +95,7 @@ pub fn build_window_options(display_uuid: Option<Uuid>, cx: &mut AppContext) ->
|
|||||||
titlebar: Some(TitlebarOptions {
|
titlebar: Some(TitlebarOptions {
|
||||||
title: None,
|
title: None,
|
||||||
appears_transparent: true,
|
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,
|
bounds: None,
|
||||||
focus: false,
|
focus: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user