Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
dock: Add divider between panels on the right side, too (#35003)
Danilo Leal4fb540d6d2ad
diff --git a/crates/workspace/src/dock.rs b/crates/workspace/src/dock.rsindex 7165de23ecf..ca63d3e5532 100644--- a/crates/workspace/src/dock.rs+++ b/crates/workspace/src/dock.rs@@ -934,6 +934,10 @@ impl Render for PanelButtons {h_flex().gap_1()+ .when(+ has_buttons && dock.position == DockPosition::Bottom,+ |this| this.child(Divider::vertical().color(DividerColor::Border)),+ ).children(buttons).when(has_buttons && dock.position == DockPosition::Left, |this| {this.child(Divider::vertical().color(DividerColor::Border))