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:
parent
556b0eb4f1
commit
e5c3273486
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue