From d965ddba272c2e762d6ecddcd60896ff1846e619 Mon Sep 17 00:00:00 2001 From: Nate Butler Date: Fri, 24 Nov 2023 09:33:44 -0500 Subject: [PATCH] Start debugging tab borders --- crates/workspace2/src/pane.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/crates/workspace2/src/pane.rs b/crates/workspace2/src/pane.rs index 70600537d9..5bfa8f1214 100644 --- a/crates/workspace2/src/pane.rs +++ b/crates/workspace2/src/pane.rs @@ -1406,10 +1406,11 @@ impl Pane { }) .py_1() .bg(tab_bg) - .border_color(cx.theme().colors().border) + .border_color(gpui::red()) + // .border_color(cx.theme().colors().border) .map(|this| match ix.cmp(&self.active_item_index) { - cmp::Ordering::Less => this.border_l(), - cmp::Ordering::Equal => this.border_r(), + cmp::Ordering::Less => this.border_l().mr_px(), + cmp::Ordering::Equal => this.border_r().ml_px(), cmp::Ordering::Greater => this.border_l().border_r(), }) // .hover(|h| h.bg(tab_hover_bg))