From d49c3dfacfc0ff07e620b3ad2700e64927b06235 Mon Sep 17 00:00:00 2001 From: Shlomo <78599753+ShlomoCode@users.noreply.github.com> Date: Tue, 30 Jan 2024 11:49:35 +0200 Subject: [PATCH] feat: select multiple files with ctrl even with singleClick option (#2953) --- frontend/src/components/files/ListingItem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/files/ListingItem.vue b/frontend/src/components/files/ListingItem.vue index 3e80d973..944ad9b1 100644 --- a/frontend/src/components/files/ListingItem.vue +++ b/frontend/src/components/files/ListingItem.vue @@ -191,7 +191,7 @@ export default { action(overwrite, rename); }, 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); }, click: function (event) {