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.

Narrow `.occlude()` call (#49981)

John Ture57a48678b71
diff --git a/crates/title_bar/src/collab.rs b/crates/title_bar/src/collab.rs
index 58e4d2a8fcf..0f4d5977947 100644
--- a/crates/title_bar/src/collab.rs
+++ b/crates/title_bar/src/collab.rs
@@ -143,7 +143,6 @@ impl TitleBar {
h_flex()
.id("collaborator-list")
- .occlude()
.w_full()
.gap_1()
.overflow_x_scroll()
@@ -227,6 +226,7 @@ impl TitleBar {
.ok();
})
})
+ .occlude()
.tooltip({
let login = collaborator.user.github_login.clone();
Tooltip::text(format!("Follow {login}"))