Skip to content

Commit 28fe5c3

Browse files
authored
Fixes #2993 and #2992 (#2994)
1 parent 39f7e86 commit 28fe5c3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

resources/js/composables/selections/selections.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ export function useSelection(
8484
function handlePhotoShift(idx: number, e: Event): void {
8585
if (selectedPhotos.value.length === 0) {
8686
addToPhotoSelection(idx);
87+
lastPhotoClicked.value = idx;
8788
return;
8889
}
8990

@@ -145,6 +146,7 @@ export function useSelection(
145146
function handleAlbumShift(idx: number, e: Event): void {
146147
if (selectedAlbums.value.length === 0) {
147148
addToAlbumSelection(idx);
149+
lastAlbumClicked.value = idx;
148150
return;
149151
}
150152

0 commit comments

Comments
 (0)