Make the workspace always open the dock

This commit is contained in:
Mikayla Maki committed 2023-03-08 14:49:52 -08:00
1 parent 7ed4da241c
commit 882b4dc768
1 file changed
+4
+4
View File
@@ -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