mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
hide sync
This commit is contained in:
parent
aa576157fc
commit
94a2f820c4
9 changed files with 20 additions and 87 deletions
|
@ -953,10 +953,10 @@
|
|||
options.shape = options.shape == 'auto' ? 'backdrop' : 'homePageBackdrop';
|
||||
} else if (primaryImageAspectRatio && Math.abs(primaryImageAspectRatio - 1) < .33) {
|
||||
options.coverImage = true;
|
||||
options.shape = options.shape == 'auto' ? 'square' : 'homePageSquare';
|
||||
options.shape = 'square';
|
||||
} else if (primaryImageAspectRatio && Math.abs(primaryImageAspectRatio - 1.3333334) < .01) {
|
||||
options.coverImage = true;
|
||||
options.shape = options.shape == 'auto' ? 'square' : 'homePageSquare';
|
||||
options.shape = 'square';
|
||||
} else if (primaryImageAspectRatio && primaryImageAspectRatio > 1.9) {
|
||||
options.shape = 'banner';
|
||||
options.coverImage = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue