mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-09-03 03:50:02 +03:00
Merge pull request #8022 from enter-a-random-username/patch-6
This commit is contained in:
@@ -154,8 +154,8 @@ export function getCardImageUrl({
|
||||
imgType,
|
||||
{
|
||||
// Dimensions must be rounded or the API will reject the request
|
||||
fillHeight: height ? Math.round(height * dpr) : undefined,
|
||||
fillWidth: width ? Math.round(width * dpr) : undefined,
|
||||
fillHeight: height ? Math.ceil(height * dpr) : undefined,
|
||||
fillWidth: width ? Math.ceil(width * dpr) : undefined,
|
||||
quality: 96,
|
||||
tag: imgTag
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user