mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-29 12:38:02 +00:00
Make the workspace always open the dock
This commit is contained in:
parent
f62e0b502a
commit
dad66eb3fb
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue