title_bar: Fix TITLE_BAR_HEIGHT const to it actually height 34px. (#707)

This commit is contained in:
Jason Lee 2025-03-11 18:50:32 +08:00 committed by GitHub
parent 5e4e810c0d
commit d8ec1ee516
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,7 @@ use gpui::{
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")]
const TITLE_BAR_LEFT_PADDING: Pixels = px(80.);
#[cfg(not(target_os = "macos"))]