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