Skip to content

Commit c7fb8f6

Browse files
Attila Csehpsychedelicious
authored andcommitted
code review fixes
1 parent 7fecb8e commit c7fb8f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/frontend/web/src/features/gallery/components/ImageGrid/GalleryImage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ const buildOnClick =
121121
if (currentClickedIndex < lastClickedIndex) {
122122
imagesToSelect.reverse();
123123
}
124-
dispatch(selectionChanged(imagesToSelect));
124+
dispatch(selectionChanged(uniq(selection.concat(imagesToSelect))));
125125
}
126126
} else if (ctrlKey || metaKey) {
127127
if (selection.some((n) => n === imageName) && selection.length > 1) {

0 commit comments

Comments
 (0)