mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-27 12:54:42 +00:00
Fix dock opening on collaboration
This commit is contained in:
parent
c6f27903cc
commit
404dd43c30
1 changed files with 1 additions and 1 deletions
|
@ -750,7 +750,7 @@ impl Workspace {
|
||||||
cx.defer(move |_, cx| {
|
cx.defer(move |_, cx| {
|
||||||
Self::load_from_serialized_workspace(weak_handle, serialized_workspace, cx)
|
Self::load_from_serialized_workspace(weak_handle, serialized_workspace, cx)
|
||||||
});
|
});
|
||||||
} else {
|
} else if project.read(cx).is_local() {
|
||||||
if cx.global::<Settings>().default_dock_anchor != DockAnchor::Expanded {
|
if cx.global::<Settings>().default_dock_anchor != DockAnchor::Expanded {
|
||||||
Dock::show(&mut this, false, cx);
|
Dock::show(&mut this, false, cx);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue