Require only a single click to split pane when using cmd in project panel
This commit is contained in:
parent
dcc2cd8dff
commit
c3e8ea304a
1 changed files with 1 additions and 1 deletions
|
@ -1355,7 +1355,7 @@ impl ProjectPanel {
|
||||||
if kind.is_dir() {
|
if kind.is_dir() {
|
||||||
this.toggle_expanded(entry_id, cx);
|
this.toggle_expanded(entry_id, cx);
|
||||||
} else {
|
} else {
|
||||||
if event.cmd && event.click_count > 1 {
|
if event.cmd {
|
||||||
this.split_entry(entry_id, cx);
|
this.split_entry(entry_id, cx);
|
||||||
} else if !event.cmd {
|
} else if !event.cmd {
|
||||||
this.open_entry(entry_id, event.click_count > 1, cx);
|
this.open_entry(entry_id, event.click_count > 1, cx);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue