From e5c32734863a3b8b5bf2a4e447ba1c5486d23c2c Mon Sep 17 00:00:00 2001 From: Danilo Leal <67129314+danilo-leal@users.noreply.github.com> Date: Tue, 4 Feb 2025 05:02:29 -0300 Subject: [PATCH] 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 --- crates/workspace/src/dock.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/workspace/src/dock.rs b/crates/workspace/src/dock.rs index bf6d65c03e..af52d4dc16 100644 --- a/crates/workspace/src/dock.rs +++ b/crates/workspace/src/dock.rs @@ -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)) }) }