Require only a single click to split pane when using cmd in project panel (#2729)

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons 2023-07-14 18:31:38 -04:00 committed by GitHub
commit 4d91409bbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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