From a317e6be15d18df9d145b7ecf5e9c06aed52218f Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Mon, 24 Jan 2022 04:41:59 +0100 Subject: [PATCH] [Perf] RLottie: Fix redundant frame renders --- src/lib/rlottie/RLottie.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/rlottie/RLottie.ts b/src/lib/rlottie/RLottie.ts index 7f3b26f23..2b2b58d4d 100644 --- a/src/lib/rlottie/RLottie.ts +++ b/src/lib/rlottie/RLottie.ts @@ -318,8 +318,6 @@ class RLottie { this.cleanupPrevChunk(chunkIndex); } - this.requestNextChunk(chunkIndex); - if (frameIndex !== this.prevFrameIndex) { const frame = this.getFrame(frameIndex); if (!frame) {