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 pane drag target not appearing over terminal element

Julia9efe5a30aab0
diff --git a/crates/workspace2/src/pane.rs b/crates/workspace2/src/pane.rs
index 7b9ac4ab136..d0b47a2d1e5 100644
--- a/crates/workspace2/src/pane.rs
+++ b/crates/workspace2/src/pane.rs
@@ -1938,6 +1938,7 @@ impl Render for Pane {
.child(
// drag target
div()
+ .z_index(1)
.invisible()
.absolute()
.bg(theme::color_alpha(