1
0
mirror of https://github.com/immich-app/immich.git synced 2025-07-02 05:44:37 +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

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;
} }