mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 00:35:26 +03:00
(mostly)Fix ResizeFill
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user