1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

hide sync

This commit is contained in:
Luke Pulverenti 2015-01-04 09:18:28 -05:00
parent aa576157fc
commit 94a2f820c4
9 changed files with 20 additions and 87 deletions

View file

@ -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;