Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Stop propagation when deploying the context menu for a project panel entry (#3965)
Marshall Bowersc40a7f344558
diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rsindex ee016f399e0..727ab7e859d 100644--- a/crates/project_panel/src/project_panel.rs+++ b/crates/project_panel/src/project_panel.rs@@ -1433,6 +1433,9 @@ impl ProjectPanel {})).on_secondary_mouse_down(cx.listener(move |this, event: &MouseDownEvent, cx| {+ // Stop propagation to prevent the catch-all context menu for the project+ // panel from being deployed.+ cx.stop_propagation();this.deploy_context_menu(event.position, entry_id, cx);},)),