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

Use isIntersecting instead of intersectionRatio

This commit is contained in:
peterspenler 2022-10-18 16:27:20 -04:00 committed by Dmitry Lyzo
parent aa009091d5
commit c200a7d2c6
2 changed files with 2 additions and 1 deletions

View file

@ -83,7 +83,7 @@ worker.addEventListener(
source = entry;
}
if (entry.intersectionRatio > 0) {
if (entry.isIntersecting) {
if (source) {
fillImageElement(target, source);
}