Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Don't reset the collab panel when it loses focus
Max Brunsfeld901795bcb98b
diff --git a/crates/collab_ui2/src/collab_panel.rs b/crates/collab_ui2/src/collab_panel.rsindex b7dd24b9ab5..28d1b12beaf 100644--- a/crates/collab_ui2/src/collab_panel.rs+++ b/crates/collab_ui2/src/collab_panel.rs@@ -199,12 +199,6 @@ impl CollabPanel {.iter().position(|entry| !matches!(entry, ListEntry::Header(_)));}- } else if let editor::EditorEvent::Blurred = event {- let query = this.filter_editor.read(cx).text(cx);- if query.is_empty() {- this.selection.take();- this.update_entries(true, cx);- }}}).detach();