[Perf] RLottie: Fix redundant frame renders

This commit is contained in:
Alexander Zinchuk 2022-01-24 04:41:59 +01:00
parent 29d5ef3ef7
commit a317e6be15

View File

@ -318,8 +318,6 @@ class RLottie {
this.cleanupPrevChunk(chunkIndex);
}
this.requestNextChunk(chunkIndex);
if (frameIndex !== this.prevFrameIndex) {
const frame = this.getFrame(frameIndex);
if (!frame) {