Merge pull request #7224 from theguymadmax/fix-background-rotation

Enable backdrop image rotation in Firefox
This commit is contained in:
Bill Thornton
2025-10-22 09:44:14 -04:00
committed by GitHub

View File

@@ -12,9 +12,7 @@ function enableAnimation() {
}
function enableRotation() {
return !browser.tv
// Causes high cpu usage
&& !browser.firefox;
return !browser.tv;
}
class Backdrop {
@@ -236,7 +234,7 @@ export function setBackdropImages(images) {
currentRotationIndex = -1;
if (images.length > 1 && enableRotation()) {
rotationInterval = setInterval(onRotationInterval, 24000);
rotationInterval = setInterval(onRotationInterval, 10000);
}
onRotationInterval();