Make the workspace always open the dock

Mikayla Maki created

Change summary

crates/workspace/src/workspace.rs | 4 ++++
1 file changed, 4 insertions(+)

Detailed changes

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