mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Do not show progress images in the viewer
This commit is contained in:
parent
c02a0da837
commit
77d3839860
@ -30,6 +30,7 @@ export const imagesSelector = createSelector(
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
imageToDisplay: intermediateImage ? intermediateImage : currentImage,
|
imageToDisplay: intermediateImage ? intermediateImage : currentImage,
|
||||||
|
viewerImageToDisplay: currentImage,
|
||||||
currentCategory,
|
currentCategory,
|
||||||
isOnFirstImage: currentImageIndex === 0,
|
isOnFirstImage: currentImageIndex === 0,
|
||||||
isOnLastImage:
|
isOnLastImage:
|
||||||
|
@ -22,7 +22,7 @@ export default function Lightbox() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
const {
|
const {
|
||||||
imageToDisplay,
|
viewerImageToDisplay,
|
||||||
shouldShowImageDetails,
|
shouldShowImageDetails,
|
||||||
isOnFirstImage,
|
isOnFirstImage,
|
||||||
isOnLastImage,
|
isOnLastImage,
|
||||||
@ -102,9 +102,9 @@ export default function Lightbox() {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{imageToDisplay && (
|
{viewerImageToDisplay && (
|
||||||
<ReactPanZoom
|
<ReactPanZoom
|
||||||
image={imageToDisplay.url}
|
image={viewerImageToDisplay.url}
|
||||||
styleClass="lightbox-image"
|
styleClass="lightbox-image"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user