Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Require only a single click to split pane when using cmd in project panel
Joseph T. Lyonsc3e8ea304adb
diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rsindex 3e764b695db..5442a8be745 100644--- a/crates/project_panel/src/project_panel.rs+++ b/crates/project_panel/src/project_panel.rs@@ -1355,7 +1355,7 @@ impl ProjectPanel {if kind.is_dir() {this.toggle_expanded(entry_id, cx);} else {- if event.cmd && event.click_count > 1 {+ if event.cmd {this.split_entry(entry_id, cx);} else if !event.cmd {this.open_entry(entry_id, event.click_count > 1, cx);