Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Change maximum height of TitleBar (#9758)

Aaron Ruanf83884518aed
diff --git a/crates/ui/src/components/title_bar/title_bar.rs b/crates/ui/src/components/title_bar/title_bar.rs
index e16b2312685..e50e421d672 100644
--- a/crates/ui/src/components/title_bar/title_bar.rs
+++ b/crates/ui/src/components/title_bar/title_bar.rs
@@ -14,7 +14,7 @@ pub struct TitleBar {
impl TitleBar {
#[cfg(not(target_os = "windows"))]
pub fn height(cx: &mut WindowContext) -> Pixels {
- (1.75 * cx.rem_size()).max(px(32.))
+ (1.75 * cx.rem_size()).max(px(34.))
}
#[cfg(target_os = "windows")]