Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Prevent panes from overflowing the window (#3609)
Marshall Bowersa334a21f3e6c
diff --git a/crates/workspace2/src/pane.rs b/crates/workspace2/src/pane.rsindex 76fc9319608..28c371f7387 100644--- a/crates/workspace2/src/pane.rs+++ b/crates/workspace2/src/pane.rs@@ -2106,6 +2106,7 @@ impl Render for Pane {.key_context("Pane").track_focus(&self.focus_handle).size_full()+ .flex_none().overflow_hidden().on_action(cx.listener(|pane, _: &SplitLeft, cx| pane.split(SplitDirection::Left, cx))).on_action(cx.listener(|pane, _: &SplitUp, cx| pane.split(SplitDirection::Up, cx)))