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.

Fix certain title bar elements not being interactive on Windows (#49781)

John Turd1cd9fb37a68
diff --git a/crates/title_bar/src/collab.rs b/crates/title_bar/src/collab.rs
index 8a2d23dd26f..c5071d1fff4 100644
--- a/crates/title_bar/src/collab.rs
+++ b/crates/title_bar/src/collab.rs
@@ -143,6 +143,7 @@ impl TitleBar {
h_flex()
.id("collaborator-list")
+ .occlude()
.w_full()
.gap_1()
.overflow_x_scroll()
diff --git a/crates/title_bar/src/onboarding_banner.rs b/crates/title_bar/src/onboarding_banner.rs
index 750ef0a6cdc..ac3e80e179b 100644
--- a/crates/title_bar/src/onboarding_banner.rs
+++ b/crates/title_bar/src/onboarding_banner.rs
@@ -120,6 +120,7 @@ impl Render for OnboardingBanner {
.rounded_sm()
.border_1()
.border_color(border_color)
+ .occlude()
.child(
ButtonLike::new("try-a-feature")
.child(