Remove double first item border in tabs

This commit is contained in:
Nate Butler 2023-12-04 20:13:52 -05:00
parent 7db0a9e105
commit 591dc9d82a

View file

@ -1512,7 +1512,13 @@ impl Pane {
this.border_r().ml_px().border_b()
}
}
cmp::Ordering::Equal => this.border_l().border_r().mb_px(),
cmp::Ordering::Equal => {
if is_first_item {
this.ml_px().border_r().mb_px()
} else {
this.border_l().border_r().mb_px()
}
}
}
})
// .hover(|h| h.bg(tab_hover_bg))