Fix panic double clicking on debugger resize handle (#30569)

Closes #ISSUE

Co-Authored-By: Cole <cole@zed.dev>

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin
2025-05-13 09:55:54 +02:00
committed by GitHub
co-authored by Cole
parent fff349a644
commit 32c7fcd78c
+1 -1
View File
@@ -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> {