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.

Avoid gap between titlebar and body on linux (#40228)

Conrad Irwin0c08bbca0588
diff --git a/crates/title_bar/src/platform_title_bar.rs b/crates/title_bar/src/platform_title_bar.rs
index c816f0930ca..fd03e764629 100644
--- a/crates/title_bar/src/platform_title_bar.rs
+++ b/crates/title_bar/src/platform_title_bar.rs
@@ -97,6 +97,7 @@ impl Render for PlatformTitleBar {
})
// this border is to avoid a transparent gap in the rounded corners
.mt(px(-1.))
+ .mb(px(-1.))
.border(px(1.))
.border_color(titlebar_color),
})