diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rs index 34f7cc84f6..f03bbe8468 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::(cx.listener( move |this, event: &DragMoveEvent, cx| {