Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Prevent bottom dock from becoming too large or too small
Antonio Scandurra4185a178e75f
diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rsindex 52dd7193c21..0510d89cefc 100644--- a/crates/workspace/src/workspace.rs+++ b/crates/workspace/src/workspace.rs@@ -2836,7 +2836,10 @@ impl Workspace {Vector2F::new(20., constraint.min.y()),Vector2F::new(cx.window_size().x() * 0.8, constraint.max.y()),),- _ => constraint,+ DockPosition::Bottom => SizeConstraint::new(+ Vector2F::new(constraint.min.x(), 20.),+ Vector2F::new(constraint.max.x(), cx.window_size().y() * 0.8),+ ),}).into_any(),)