status_bar: Only show divider for left dock (#24178)

Follow up to https://github.com/zed-industries/zed/pull/24114

Just fixing the UI so that the divider only shows for the
left-positioned items.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal
2025-02-04 08:02:29 +00:00
committed by GitHub
parent 556b0eb4f1
commit e5c3273486
+1 -1
View File
@@ -876,7 +876,7 @@ impl Render for PanelButtons {
h_flex()
.gap_1()
.children(buttons)
.when(has_buttons, |this| {
.when(has_buttons && dock.position == DockPosition::Left, |this| {
this.child(Divider::vertical().color(DividerColor::Border))
})
}