Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
title_bar: Use an `IconButton` for the user menu (#23601)
Danilo Leal7b69c4246a4e
diff --git a/crates/title_bar/src/title_bar.rs b/crates/title_bar/src/title_bar.rsindex 696c44bd572..b905229caec 100644--- a/crates/title_bar/src/title_bar.rs+++ b/crates/title_bar/src/title_bar.rs@@ -748,15 +748,8 @@ impl TitleBar {.into()}).trigger(- ButtonLike::new("user-menu")- .child(- h_flex().gap_0p5().child(- Icon::new(IconName::ChevronDown)- .size(IconSize::Small)- .color(Color::Muted),- ),- )- .style(ButtonStyle::Subtle)+ IconButton::new("user-menu", IconName::ChevronDown)+ .icon_size(IconSize::Small).tooltip(move |cx| Tooltip::text("Toggle User Menu", cx)),)}