Skip to content

Commit

Permalink
fix(web): shift-select (#8093)
Browse files Browse the repository at this point in the history
* fix(web): shift-select

* remove unused code

* proper fix
  • Loading branch information
alextran1502 committed Mar 20, 2024
1 parent 48e3226 commit 5a2394a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/src/lib/components/photos-page/asset-grid.svelte
Expand Up @@ -207,7 +207,7 @@
return;
}
if (matchesShortcut(event, { key: 'Shift' })) {
if (matchesShortcut(event, { key: 'Shift', shift: true })) {
event.preventDefault();
shiftKeyIsDown = true;
}
Expand All @@ -218,7 +218,7 @@
return;
}
if (matchesShortcut(event, { key: 'Shift' })) {
if (matchesShortcut(event, { key: 'Shift', shift: true })) {
event.preventDefault();
shiftKeyIsDown = false;
}
Expand Down

0 comments on commit 5a2394a

Please sign in to comment.