Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Style pane drop targets (#3726)
Marshall Bowers53b76e3e4d09
diff --git a/crates/workspace2/src/pane.rs b/crates/workspace2/src/pane.rsindex 6b498124e37..4d0d4653090 100644--- a/crates/workspace2/src/pane.rs+++ b/crates/workspace2/src/pane.rs@@ -1817,9 +1817,6 @@ impl Render for Pane {type Element = Focusable<Div>;fn render(&mut self, cx: &mut ViewContext<Self>) -> Self::Element {- let mut drag_target_color = cx.theme().colors().text;- drag_target_color.a = 0.5;-v_stack().key_context("Pane").track_focus(&self.focus_handle)@@ -1922,7 +1919,10 @@ impl Render for Pane {div().invisible().absolute()- .bg(drag_target_color)+ .bg(theme::color_alpha(+ cx.theme().colors().drop_target_background,+ 0.75,+ )).group_drag_over::<DraggedTab>("", |style| style.visible()).group_drag_over::<ProjectEntryId>("", |style| style.visible()).on_drop(cx.listener(move |this, dragged_tab, cx| {