From dad66eb3fbc7b981c7e433a3140571ced6cb42f6 Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Wed, 8 Mar 2023 14:38:33 -0800 Subject: [PATCH] Make the workspace always open the dock --- crates/workspace/src/workspace.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rs index 1c1afea4aa..7c439522e8 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::().default_dock_anchor != DockAnchor::Expanded { + Dock::show(&mut this, false, cx); + } } this