mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-27 12:54:42 +00:00
Fix center items not being activated when deserialized
This commit is contained in:
parent
8d561d6408
commit
6dfb48dbd5
2 changed files with 2 additions and 2 deletions
|
@ -197,7 +197,7 @@ impl SerializedPane {
|
|||
let pane_handle = pane_handle
|
||||
.upgrade(cx)
|
||||
.ok_or_else(|| anyhow!("pane was dropped"))?;
|
||||
Pane::add_item(workspace, &pane_handle, item_handle, false, false, None, cx);
|
||||
Pane::add_item(workspace, &pane_handle, item_handle, true, true, None, cx);
|
||||
anyhow::Ok(())
|
||||
})??;
|
||||
}
|
||||
|
|
|
@ -2610,7 +2610,7 @@ impl Workspace {
|
|||
Dock::set_dock_position(
|
||||
workspace,
|
||||
serialized_workspace.dock_position,
|
||||
true,
|
||||
false,
|
||||
cx,
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue