Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Remove double-click handling from git panel filenames (#58594)
Chris Biscardi5bcd6ea66aae
diff --git a/crates/git_ui/src/git_panel.rs b/crates/git_ui/src/git_panel.rsindex 93064b0e36f..ce21a74c452 100644--- a/crates/git_ui/src/git_panel.rs+++ b/crates/git_ui/src/git_panel.rs@@ -6242,7 +6242,7 @@ impl GitPanel {cx.listener(move |this, event: &ClickEvent, window, cx| {this.selected_entry = Some(ix);cx.notify();- if event.click_count() > 1 || event.modifiers().secondary() {+ if event.modifiers().secondary() {this.open_solo_diff(&Default::default(), window, cx)} else {this.open_diff(&Default::default(), window, cx);