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 'main' into n/t2

Nate Butler3b91a76159d8
diff --cc crates/ui2/src/components/tab.rs
index d7b52c7ab3c,8572a22262c..e8b0ee3be59
--- a/crates/ui2/src/components/tab.rs
+++ b/crates/ui2/src/components/tab.rs
@@@ -127,9 -127,9 +127,9 @@@ impl Tab
div()
.id(self.id.clone())
.on_drag(move |_view, cx| cx.build_view(|cx| drag_state.clone()))
- .drag_over::<TabDragState>(|d| d.bg(black()))
+ .drag_over::<TabDragState>(|d| d.bg(cx.theme().colors().element_drop_target))
.on_drop(|_view, state: View<TabDragState>, cx| {
- dbg!(state.read(cx));
+ eprintln!("{:?}", state.read(cx));
})
.px_2()
.py_0p5()