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.

Merge branch 'gpui2-element-renderer' into zed2

Marshall Bowersd62c51a4b8b8
diff --cc crates/ui2/src/components/panes.rs
index fd1ec56ae7c,a8dd202c50f..a45de158bbb
--- a/crates/ui2/src/components/panes.rs
+++ b/crates/ui2/src/components/panes.rs
@@@ -49,13 -51,9 +51,8 @@@ impl<V: 'static> Pane<V>
.w(self.size.width)
.h(self.size.height)
.relative()
- .child(
- div()
- .z_index(0)
- .size_full()
- .children(self.children.drain(..)),
- )
+ .child(div().z_index(0).size_full().children(self.children))
.child(
- // TODO kb! Figure out why we can't we see the red background when we drag a file over this div.
div()
.z_index(1)
.id("drag-target")