Require only a single click to split pane when using cmd in project panel

Joseph T. Lyons created

Change summary

crates/project_panel/src/project_panel.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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);