diff --git a/renderer/components/LeftPaneImageSteps.tsx b/renderer/components/LeftPaneImageSteps.tsx index 1fd3a5a..a5332ea 100644 --- a/renderer/components/LeftPaneImageSteps.tsx +++ b/renderer/components/LeftPaneImageSteps.tsx @@ -24,6 +24,11 @@ interface IProps { setSaveImageAs: (arg: string) => void; gpuId: string; setGpuId: (arg: string) => void; + leftImageRef: any; + dimensions: { + width: number | null; + height: number | null; + }; } function LeftPaneImageSteps({ @@ -47,6 +52,7 @@ function LeftPaneImageSteps({ setGpuId, saveImageAs, setSaveImageAs, + dimensions, }: IProps) { useEffect(() => { themeChange(false); @@ -130,6 +136,8 @@ function LeftPaneImageSteps({ { label: "winter", value: "winter" }, ]; + useEffect(() => {}, [imagePath]); + return (
{/* BATCH OPTION */} @@ -214,6 +222,18 @@ function LeftPaneImageSteps({ {/* STEP 4 */}

Step 4

+ {dimensions.width && dimensions.height && ( +

+ Upscale from{" "} + + {dimensions.width}x{dimensions.height} + {" "} + to{" "} + + {dimensions.width * 4}x{dimensions.height * 4} + +

+ )}