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.

Make the workspace always open the dock

Mikayla Makidad66eb3fbc7
diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rs
index 1c1afea4aad..7c439522e82 100644
--- a/crates/workspace/src/workspace.rs
+++ b/crates/workspace/src/workspace.rs
@@ -742,6 +742,10 @@ impl Workspace {
cx.defer(move |_, cx| {
Self::load_from_serialized_workspace(weak_handle, serialized_workspace, cx)
});
+ } else {
+ if cx.global::<Settings>().default_dock_anchor != DockAnchor::Expanded {
+ Dock::show(&mut this, false, cx);
+ }
}
this