Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Start debugging tab borders

Nate Butlerd965ddba272c
diff --git a/crates/workspace2/src/pane.rs b/crates/workspace2/src/pane.rs
index 70600537d9b..5bfa8f12148 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))