fixed bad statement

This commit is contained in:
Not Officer 2021-05-29 23:53:18 +02:00
parent 8349d2bb93
commit 5e334d82ca

View File

@ -599,7 +599,7 @@ namespace FModel.ViewModels
var width = img.Width;
var heigth = img.Height;
while (width < UPSCALE_SIZE || heigth < UPSCALE_SIZE)
while (width < UPSCALE_SIZE && heigth < UPSCALE_SIZE)
{
width *= 2;
heigth *= 2;