(mostly)Fix ResizeFill

This commit is contained in:
Odd Stråbø
2021-03-17 19:45:28 +01:00
parent 383aa4e4d9
commit 13d0837b78
3 changed files with 86 additions and 78 deletions

View File

@@ -97,6 +97,16 @@ namespace MediaBrowser.Controller.Drawing
return false;
}
if (FillWidth.HasValue && sizeValue.Width > FillWidth.Value)
{
return false;
}
if (FillHeight.HasValue && sizeValue.Height > FillHeight.Value)
{
return false;
}
return true;
}