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

update backdrops

This commit is contained in:
Luke Pulverenti 2016-12-02 15:45:11 -05:00
parent 7ce49ea1e8
commit 65ccdb73c7
3 changed files with 7 additions and 8 deletions

View file

@ -14,12 +14,12 @@
}, },
"devDependencies": {}, "devDependencies": {},
"ignore": [], "ignore": [],
"version": "1.4.365", "version": "1.4.366",
"_release": "1.4.365", "_release": "1.4.366",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "1.4.365", "tag": "1.4.366",
"commit": "a946b2cfd0bc2fd99121a18cc236f1ce02ad5cf8" "commit": "0f80ba74da6484e52961e2199505d30a86fe5666"
}, },
"_source": "https://github.com/MediaBrowser/emby-webcomponents.git", "_source": "https://github.com/MediaBrowser/emby-webcomponents.git",
"_target": "^1.2.1", "_target": "^1.2.1",

View file

@ -252,13 +252,13 @@
var rotationInterval; var rotationInterval;
var currentRotatingImages = []; var currentRotatingImages = [];
var currentRotationIndex = -1; var currentRotationIndex = -1;
function setBackdrops(items, enableRotation) { function setBackdrops(items, enableImageRotation) {
var images = getImageUrls(items); var images = getImageUrls(items);
if (images.length) { if (images.length) {
startRotation(images, enableRotation); startRotation(images, enableImageRotation);
} else { } else {
clearBackdrop(); clearBackdrop();
@ -276,7 +276,7 @@
currentRotatingImages = images; currentRotatingImages = images;
currentRotationIndex = -1; currentRotationIndex = -1;
if (images.length > 1 && enableRotation() && enableImageRotation !== false) { if (images.length > 1 && enableImageRotation !== false && enableRotation()) {
rotationInterval = setInterval(onRotationInterval, 20000); rotationInterval = setInterval(onRotationInterval, 20000);
} }
onRotationInterval(); onRotationInterval();

View file

@ -33,7 +33,6 @@
} }
.cardOverlayFab { .cardOverlayFab {
background-color: #282828 !important;
margin-right: .25em !important; margin-right: .25em !important;
} }