title_bar: Fix TITLE_BAR_HEIGHT const to it actually height 34px. (#707)
This commit is contained in:
parent
5e4e810c0d
commit
d8ec1ee516
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ use gpui::{
|
||||||
Stateful, StatefulInteractiveElement as _, Style, Styled, TitlebarOptions, Window,
|
Stateful, StatefulInteractiveElement as _, Style, Styled, TitlebarOptions, Window,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const TITLE_BAR_HEIGHT: Pixels = px(35.);
|
pub const TITLE_BAR_HEIGHT: Pixels = px(34.);
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
const TITLE_BAR_LEFT_PADDING: Pixels = px(80.);
|
const TITLE_BAR_LEFT_PADDING: Pixels = px(80.);
|
||||||
#[cfg(not(target_os = "macos"))]
|
#[cfg(not(target_os = "macos"))]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue