Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Improve visibility of keyboard selection for the agent conversation in WorkspaceSidebar (#63922)
Jakub Łykoa39324bf99ff
diff --git a/crates/sidebar/src/sidebar.rs b/crates/sidebar/src/sidebar.rsindex 88a0065585c..a0b6f43fc26 100644--- a/crates/sidebar/src/sidebar.rs+++ b/crates/sidebar/src/sidebar.rs@@ -2390,9 +2390,10 @@ impl Sidebar {.pr_1p5().justify_between().border_1()+ .border_r_2().map(|this| {if is_focused {- this.border_color(color.border_focused)+ this.border_color(color.panel_focused_border)} else {this.border_color(gpui::transparent_black())}diff --git a/crates/ui/src/components/ai/thread_item.rs b/crates/ui/src/components/ai/thread_item.rsindex caf36f41772..6234407d4bb 100644--- a/crates/ui/src/components/ai/thread_item.rs+++ b/crates/ui/src/components/ai/thread_item.rs@@ -436,8 +436,9 @@ impl RenderOnce for ThreadItem {.px_1p5().when(self.selected, |s| s.bg(color.element_active)).border_1()+ .border_r_2().border_color(gpui::transparent_black())- .when(self.focused, |s| s.border_color(color.border_focused))+ .when(self.focused, |s| s.border_color(color.panel_focused_border)).when(self.rounded, |s| s.rounded_sm()).hover(|s| s.bg(hover_color)).on_hover(self.on_hover)