From d893ca6cfebffbefc8ed046b591fa544a0bc49af Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Fri, 27 Oct 2023 12:49:58 +0200 Subject: [PATCH] RLottie: Fix animation speed when device limits FPS (follow-up) --- src/lib/rlottie/RLottie.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/rlottie/RLottie.ts b/src/lib/rlottie/RLottie.ts index a1441fd99..076b3b014 100644 --- a/src/lib/rlottie/RLottie.ts +++ b/src/lib/rlottie/RLottie.ts @@ -163,6 +163,8 @@ class RLottie { } pause(viewId?: string) { + this.lastRenderAt = undefined; + if (viewId) { this.views.get(viewId)!.isPaused = true;