fix x1 upscalers

This commit is contained in:
Andray 2024-04-18 01:53:23 +04:00
parent ff6f4680c4
commit 9d4fdc45d3
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class Upscaler:
dest_h = int((img.height * scale) // 8 * 8)
for _ in range(3):
if img.width >= dest_w and img.height >= dest_h:
if img.width >= dest_w and img.height >= dest_h and scale != 1:
break
if shared.state.interrupted: