1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-09-23 19:08:25 +02:00

Revert "Add progressbar when upscaling image (#858)"

This reverts commit 3424b8c481.
This commit is contained in:
NayamAmarshe 2024-06-07 21:13:16 +05:30 committed by GitHub
parent 3424b8c481
commit 9ef93a10e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,14 +27,13 @@ function ProgressBar({
<div className="absolute z-50 flex h-full w-full flex-col items-center justify-center bg-base-300/50 backdrop-blur-lg">
<div className="flex flex-col items-center rounded-btn bg-base-100/50 p-4 backdrop-blur-lg">
<Logo className="spinner mb-4 h-12 w-12" />
<p className="rounded-full px-2 pb-2 font-bold flex flex-col items-center">
<p className="rounded-full px-2 pb-2 font-bold">
{batchMode && "Batch Upscale In Progress: " + batchProgress}
{!batchMode &&
(doubleUpscaylCounter > 0
? `${progress}\nPass ${doubleUpscaylCounter}`
: `${progress}`)}
<progress className='progress w-96 transition-width duration-200 ease-in-out' value={parseFloat(progress.replace("%", ''))} max='100' />
</p>
<p className="animate-pulse rounded-full px-2 pb-3 text-sm font-medium">