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.

Add focusing into the toggle dock commands

Mikayla Maki790d99538160
diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rs
index ef8cde78a64..883b90d8090 100644
--- a/crates/workspace/src/workspace.rs
+++ b/crates/workspace/src/workspace.rs
@@ -1598,9 +1598,7 @@ impl Workspace {
focus_center = true;
}
} else {
- if active_panel.is_zoomed(cx) {
- cx.focus(active_panel.as_any());
- }
+ cx.focus(active_panel.as_any());
reveal_dock = true;
}
}