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.

Correct dock menu names

Conrad Irwinfa73cf398367
diff --git a/crates/workspace/src/dock.rs b/crates/workspace/src/dock.rs
index bd965f63d4c..236d96ef9fa 100644
--- a/crates/workspace/src/dock.rs
+++ b/crates/workspace/src/dock.rs
@@ -651,9 +651,13 @@ impl Render for PanelButtons {
&& panel.position_is_valid(position, cx)
{
let panel = panel.clone();
- menu = menu.entry(position.to_label(), None, move |cx| {
- panel.set_position(position, cx);
- })
+ menu = menu.entry(
+ format!("Dock {}", position.to_label()),
+ None,
+ move |cx| {
+ panel.set_position(position, cx);
+ },
+ )
}
}
menu