RLottie: Fix missing first frame during heavy animation
This commit is contained in:
parent
77bd8b3a0a
commit
0060264b78
@ -445,7 +445,10 @@ class RLottie {
|
|||||||
|
|
||||||
// Paused from outside
|
// Paused from outside
|
||||||
if (!this.isAnimating) {
|
if (!this.isAnimating) {
|
||||||
return false;
|
const areAllLoaded = Array.from(this.containers.values()).every(({ isLoaded }) => isLoaded);
|
||||||
|
if (areAllLoaded) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const frameIndex = Math.round(this.approxFrameIndex);
|
const frameIndex = Math.round(this.approxFrameIndex);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user