0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-21 00:52:43 -05: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;
}
if (matchesShortcut(event, { key: 'Shift' })) {
if (matchesShortcut(event, { key: 'Shift', shift: true })) {
event.preventDefault();
shiftKeyIsDown = true;
}
@ -218,7 +218,7 @@
return;
}
if (matchesShortcut(event, { key: 'Shift' })) {
if (matchesShortcut(event, { key: 'Shift', shift: true })) {
event.preventDefault();
shiftKeyIsDown = false;
}