Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Prevent remoting dialog from losing focus (#11820)
Conrad Irwinbf4478703bca
diff --git a/crates/recent_projects/src/dev_servers.rs b/crates/recent_projects/src/dev_servers.rsindex ccde82383fa..f5eb32b981a 100644--- a/crates/recent_projects/src/dev_servers.rs+++ b/crates/recent_projects/src/dev_servers.rs@@ -992,6 +992,9 @@ impl Render for DevServerProjects {.on_mouse_down_out(cx.listener(|this, _, cx| {if matches!(this.mode, Mode::Default(None)) {cx.emit(DismissEvent)+ } else {+ this.focus_handle(cx).focus(cx);+ cx.stop_propagation()}})).pb_4()