1
0
mirror of https://github.com/immich-app/immich.git synced 2025-02-09 18:57:46 +02:00

fix(web): shift-select (#8093)

* fix(web): shift-select

* remove unused code

* proper fix
This commit is contained in:
Alex 2024-03-20 09:16:20 -05:00 committed by GitHub
parent 48e32269f4
commit 5a2394af7c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -207,7 +207,7 @@
return; return;
} }
if (matchesShortcut(event, { key: 'Shift' })) { if (matchesShortcut(event, { key: 'Shift', shift: true })) {
event.preventDefault(); event.preventDefault();
shiftKeyIsDown = true; shiftKeyIsDown = true;
} }
@ -218,7 +218,7 @@
return; return;
} }
if (matchesShortcut(event, { key: 'Shift' })) { if (matchesShortcut(event, { key: 'Shift', shift: true })) {
event.preventDefault(); event.preventDefault();
shiftKeyIsDown = false; shiftKeyIsDown = false;
} }