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

This commit is contained in:
Joseph T. Lyons 2023-07-14 18:27:40 -04:00
parent dcc2cd8dff
commit c3e8ea304a

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