We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39f7e86 commit 28fe5c3Copy full SHA for 28fe5c3
1 file changed
resources/js/composables/selections/selections.ts
@@ -84,6 +84,7 @@ export function useSelection(
84
function handlePhotoShift(idx: number, e: Event): void {
85
if (selectedPhotos.value.length === 0) {
86
addToPhotoSelection(idx);
87
+ lastPhotoClicked.value = idx;
88
return;
89
}
90
@@ -145,6 +146,7 @@ export function useSelection(
145
146
function handleAlbumShift(idx: number, e: Event): void {
147
if (selectedAlbums.value.length === 0) {
148
addToAlbumSelection(idx);
149
+ lastAlbumClicked.value = idx;
150
151
152
0 commit comments