From f4964acc45c2d54ed681afb27cac3b75bee02782 Mon Sep 17 00:00:00 2001 From: Raziul Islam <51883557+iRaziul@users.noreply.github.com> Date: Tue, 13 Feb 2024 14:51:24 +0600 Subject: [PATCH] `ctrl+click` or `cmd+click` keybinding for multiple selection --- resources/views/components/modals/curator-panel.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/components/modals/curator-panel.blade.php b/resources/views/components/modals/curator-panel.blade.php index be29a941..552fbcd7 100644 --- a/resources/views/components/modals/curator-panel.blade.php +++ b/resources/views/components/modals/curator-panel.blade.php @@ -3,7 +3,7 @@ handleItemClick: function (mediaId = null, event) { if (! mediaId) return; - if ($wire.isMultiple && event && event.metaKey) { + if ($wire.isMultiple && event && (event.metaKey || event.ctrlKey)) { if (this.isSelected(mediaId)) { let toRemove = Object.values($wire.selected).find(obj => obj.id == mediaId) $wire.removeFromSelection(toRemove.id);