[Perf] RLottie: Fix redundant frame renders
This commit is contained in:
parent
29d5ef3ef7
commit
a317e6be15
@ -318,8 +318,6 @@ class RLottie {
|
|||||||
this.cleanupPrevChunk(chunkIndex);
|
this.cleanupPrevChunk(chunkIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.requestNextChunk(chunkIndex);
|
|
||||||
|
|
||||||
if (frameIndex !== this.prevFrameIndex) {
|
if (frameIndex !== this.prevFrameIndex) {
|
||||||
const frame = this.getFrame(frameIndex);
|
const frame = this.getFrame(frameIndex);
|
||||||
if (!frame) {
|
if (!frame) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user