feat: select multiple files with ctrl even with singleClick option (#2953)
This commit is contained in:
parent
2cfee2183c
commit
d49c3dfacf
|
@ -191,7 +191,7 @@ export default {
|
||||||
action(overwrite, rename);
|
action(overwrite, rename);
|
||||||
},
|
},
|
||||||
itemClick: function (event) {
|
itemClick: function (event) {
|
||||||
if (this.singleClick && !this.$store.state.multiple) this.open();
|
if (!(event.ctrlKey || event.metaKey) && this.singleClick && !this.$store.state.multiple) this.open();
|
||||||
else this.click(event);
|
else this.click(event);
|
||||||
},
|
},
|
||||||
click: function (event) {
|
click: function (event) {
|
||||||
|
|
Loading…
Reference in New Issue