From b8573ebf3582cccd7a517290b2fbb91aeabba09c Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Tue, 1 Nov 2022 18:53:23 +0100 Subject: [PATCH] RLottie: Fix infinite loop when paused --- src/lib/rlottie/RLottie.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/rlottie/RLottie.ts b/src/lib/rlottie/RLottie.ts index 0fa1a2069..97610c8dc 100644 --- a/src/lib/rlottie/RLottie.ts +++ b/src/lib/rlottie/RLottie.ts @@ -336,7 +336,7 @@ class RLottie { } // Paused from outside - if (!this.isAnimating && Array.from(this.containers.values())[0]!.isOnLoadFired) { + if (!this.isAnimating) { return false; }