mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
Require only a single click to split pane when using cmd in project panel
This commit is contained in:
parent
dcc2cd8dff
commit
c3e8ea304a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user