Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Remove PickerEvent::Dismiss emission from picker header
Piotr Osiewicz48371ab8b2ba
diff --git a/crates/collab_ui/src/branch_list.rs b/crates/collab_ui/src/branch_list.rsindex e0f85aa65a3..a1693fd6c46 100644--- a/crates/collab_ui/src/branch_list.rs+++ b/crates/collab_ui/src/branch_list.rs@@ -255,9 +255,7 @@ impl PickerDelegate for BranchListDelegate {Some(MouseEventHandler::<BranchList, _>::new(0, cx, move |_, _| label).on_click(MouseButton::Left, move |_, _, _| {})- .on_down_out(MouseButton::Left, move |_, _, cx| {- cx.emit(PickerEvent::Dismiss)- })+ .on_down_out(MouseButton::Left, move |_, _, _| {}).into_any(),)}