From 237a8be8dbc1d5fd3c21f7e71aeac061eb1068e8 Mon Sep 17 00:00:00 2001 From: ShlomoCode <78599753+ShlomoCode@users.noreply.github.com> Date: Fri, 19 Jan 2024 04:50:53 +0200 Subject: [PATCH] feat: select multiple files with ctrl even with singleClick option --- 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 71813bcf..14dc9961 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) {