Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix panic double clicking on debugger resize handle (#30569)
Conrad Irwin32c7fcd78cb1
diff --git a/crates/debugger_ui/src/debugger_panel.rs b/crates/debugger_ui/src/debugger_panel.rsindex 31f4808e56c..17418203856 100644--- a/crates/debugger_ui/src/debugger_panel.rs+++ b/crates/debugger_ui/src/debugger_panel.rs@@ -1119,7 +1119,7 @@ impl Panel for DebugPanel {}fn set_size(&mut self, size: Option<Pixels>, _window: &mut Window, _cx: &mut Context<Self>) {- self.size = size.unwrap();+ self.size = size.unwrap_or(px(300.));}fn remote_id() -> Option<proto::PanelId> {