feat: select multiple files with ctrl even with singleClick option (#2953)

This commit is contained in:
Shlomo 2024-01-30 11:49:35 +02:00 committed by GitHub
parent 2cfee2183c
commit d49c3dfacf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

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