Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
feat(preview): square the preview image frames
Josh Corbett26d7188052a1
diff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompare.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompare.tsxindex 20b0bead75..9797523c09 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompare.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewCompare.tsx@@ -166,7 +166,6 @@ export const PreviewCompare = ({css={getFittedFrameCss(baseImage.width, baseImage.height)}overflow="hidden"position="relative"- rounded="lg"style={sliderTouchStyle}onLostPointerCapture={endDrag}onPointerCancel={endDrag}@@ -326,7 +325,6 @@ const HoverCompareFrame = ({overflow="hidden"position="relative"role="region"- rounded="lg"tabIndex={0}touchAction="none"onBlur={handleBlur}@@ -401,7 +399,6 @@ const CompareSidePane = ({cursor={isZoomed ? 'grab' : undefined}overflow="hidden"position="relative"- rounded="lg"// Keeps the browser's own pan and pinch off the pane, so a two-finger// gesture reaches the shared loupe instead of zooming the page — but only// where there is a loupe: mismatched dimensions leave the panes withoutdiff --git a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewStage.tsx b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewStage.tsxindex 02eafcc30a..a3fb580e9e 100644--- a/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewStage.tsx+++ b/invokeai/frontend/webv2/src/workbench/widgets/preview/PreviewStage.tsx@@ -96,7 +96,6 @@ export const FittedFrame = ({css={getFittedFrameCss(frameWidth, frameHeight)}overflow="hidden"position="relative"- rounded="lg"{...props}/>);