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 {
|
||||
imageToDisplay: intermediateImage ? intermediateImage : currentImage,
|
||||
viewerImageToDisplay: currentImage,
|
||||
currentCategory,
|
||||
isOnFirstImage: currentImageIndex === 0,
|
||||
isOnLastImage:
|
||||
|
@ -22,7 +22,7 @@ export default function Lightbox() {
|
||||
);
|
||||
|
||||
const {
|
||||
imageToDisplay,
|
||||
viewerImageToDisplay,
|
||||
shouldShowImageDetails,
|
||||
isOnFirstImage,
|
||||
isOnLastImage,
|
||||
@ -102,9 +102,9 @@ export default function Lightbox() {
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
{imageToDisplay && (
|
||||
{viewerImageToDisplay && (
|
||||
<ReactPanZoom
|
||||
image={imageToDisplay.url}
|
||||
image={viewerImageToDisplay.url}
|
||||
styleClass="lightbox-image"
|
||||
/>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user