Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix knockout icon background to match hovered entry background in project panel (#22258)
tims306fc1973906
diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rsindex 34f7cc84f67..f03bbe84689 100644--- a/crates/project_panel/src/project_panel.rs+++ b/crates/project_panel/src/project_panel.rs@@ -3200,7 +3200,7 @@ impl ProjectPanel {item_colors.default};- let bg_hover_color = if self.mouse_down {+ let bg_hover_color = if self.mouse_down || is_marked || is_active {item_colors.marked_active} else {item_colors.hover@@ -3224,9 +3224,7 @@ impl ProjectPanel {.border_1().border_r_2().border_color(border_color)- .when(!is_marked && !is_active, |div| {- div.hover(|style| style.bg(bg_hover_color))- })+ .hover(|style| style.bg(bg_hover_color)).when(is_local, |div| {div.on_drag_move::<ExternalPaths>(cx.listener(move |this, event: &DragMoveEvent<ExternalPaths>, cx| {