From 8aec99bc78e8a37dff320c67ff1814e5e493d6f0 Mon Sep 17 00:00:00 2001 From: Nayam Amarshe <25067102+NayamAmarshe@users.noreply.github.com> Date: Sun, 18 Sep 2022 18:56:10 +0530 Subject: [PATCH] Fixed Progress Bar Issue --- renderer/components/LeftPaneSteps.jsx | 15 ++++++++++++--- renderer/components/ProgressBar.jsx | 1 - renderer/pages/index.jsx | 11 +++++++++-- renderer/styles/globals.css | 5 +---- to_upscale copy.jpeg | Bin 20936 -> 0 bytes to_upscale_upscayl_4x_realesrgan-x4plus.jpeg | Bin 0 -> 1654705 bytes 6 files changed, 22 insertions(+), 10 deletions(-) delete mode 100644 to_upscale copy.jpeg create mode 100644 to_upscale_upscayl_4x_realesrgan-x4plus.jpeg diff --git a/renderer/components/LeftPaneSteps.jsx b/renderer/components/LeftPaneSteps.jsx index f2d726c..f580804 100644 --- a/renderer/components/LeftPaneSteps.jsx +++ b/renderer/components/LeftPaneSteps.jsx @@ -54,16 +54,25 @@ function LeftPaneSteps(props) { { - props.setDoubleUpscayl(e.target.checked); + if (e.target.checked) { + props.setDoubleUpscayl(true); + } else { + props.setDoubleUpscayl(false); + } }} />

{ + props.setDoubleUpscayl(!props.doubleUpscayl); + }} > Double Upscayl

@@ -88,7 +97,7 @@ function LeftPaneSteps(props) { Defaults to Image's path