Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix overlay rendering when dragging onto the center of a pane
Max Brunsfeld52b9fc303b63
diff --git a/crates/workspace2/src/pane.rs b/crates/workspace2/src/pane.rsindex 6b5a131ea03..11588212ef7 100644--- a/crates/workspace2/src/pane.rs+++ b/crates/workspace2/src/pane.rs@@ -1927,7 +1927,7 @@ impl Render for Pane {this.handle_project_entry_drop(entry_id, cx)})).map(|div| match self.drag_split_direction {- None => div.full(),+ None => div.top_0().left_0().right_0().bottom_0(),Some(SplitDirection::Up) => div.top_0().left_0().right_0().h_32(),Some(SplitDirection::Down) => {div.left_0().bottom_0().right_0().h_32()