mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Merge branch 'main' into lstein/more-model-loading-fixes
This commit is contained in:
commit
c2eb6c33b9
@ -23,6 +23,7 @@ export const makeSelector = (image_name: string) =>
|
|||||||
({ gallery }) => {
|
({ gallery }) => {
|
||||||
const isSelected = gallery.selection.includes(image_name);
|
const isSelected = gallery.selection.includes(image_name);
|
||||||
const selectionCount = gallery.selection.length;
|
const selectionCount = gallery.selection.length;
|
||||||
|
|
||||||
return {
|
return {
|
||||||
isSelected,
|
isSelected,
|
||||||
selectionCount,
|
selectionCount,
|
||||||
@ -117,7 +118,7 @@ const GalleryImage = (props: HoverableImageProps) => {
|
|||||||
resetIcon={<FaTrash />}
|
resetIcon={<FaTrash />}
|
||||||
resetTooltip="Delete image"
|
resetTooltip="Delete image"
|
||||||
imageSx={{ w: 'full', h: 'full' }}
|
imageSx={{ w: 'full', h: 'full' }}
|
||||||
withResetIcon
|
// withResetIcon // removed bc it's too easy to accidentally delete images
|
||||||
isDropDisabled={true}
|
isDropDisabled={true}
|
||||||
isUploadDisabled={true}
|
isUploadDisabled={true}
|
||||||
/>
|
/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user