Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix panel not resizing after external file deletion (#26378)

Cristiano Panteaa364a1345891
diff --git a/crates/workspace/src/pane.rs b/crates/workspace/src/pane.rs
index 37299f24bee..60fc97d97a3 100644
--- a/crates/workspace/src/pane.rs
+++ b/crates/workspace/src/pane.rs
@@ -1878,7 +1878,7 @@ impl Pane {
}
Ok(1) => {
pane.update_in(cx, |pane, window, cx| {
- pane.remove_item(item.item_id(), false, false, window, cx)
+ pane.remove_item(item.item_id(), false, true, window, cx)
})?;
}
_ => return Ok(false),