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

Adjust animation speed and remove useless arguments

This commit is contained in:
MrTimscampi 2020-04-15 14:39:44 +02:00
parent e256e64e68
commit e0a71938ea
2 changed files with 4 additions and 14 deletions

View file

@ -4,20 +4,10 @@
.cardImageContainer.lazy.lazy-image-fadein { .cardImageContainer.lazy.lazy-image-fadein {
opacity: 1; opacity: 1;
transition: opacity 1s; transition: opacity 0.7s;
} }
.cardImageContainer.lazy.lazy-image-fadein-fast { .cardImageContainer.lazy.lazy-image-fadein-fast {
opacity: 1; opacity: 1;
transition: opacity 0.5s; transition: opacity 0.2s;
}
@keyframes lazy-image-fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
} }

View file

@ -31,7 +31,7 @@
}); });
} }
destroyObserver(elements) { destroyObserver() {
const observer = this.observer; const observer = this.observer;
if (observer) { if (observer) {
@ -40,7 +40,7 @@
} }
} }
destroy(elements) { destroy() {
this.destroyObserver(); this.destroyObserver();
this.options = null; this.options = null;
} }