Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Remember active panel after closing dock (#23207)
Aaron Feickert4ed3c133cffa
diff --git a/crates/workspace/src/dock.rs b/crates/workspace/src/dock.rsindex 35b7a379b0d..d3114fcf55c 100644--- a/crates/workspace/src/dock.rs+++ b/crates/workspace/src/dock.rs@@ -339,9 +339,6 @@ impl Dock {self.is_open = open;if let Some(active_panel) = self.active_panel_entry() {active_panel.panel.set_active(open, cx);- if !open {- self.active_panel_index = None;- }}cx.notify();