From 457b7f505ef3737848ce90e1af9acbf256948c7c Mon Sep 17 00:00:00 2001 From: liwenfei1991 Date: Tue, 8 Feb 2022 16:00:11 +0800 Subject: [PATCH] Merge branch 'master' of https://github.com/liwenfei1991/lottie-ios * 'master' of https://github.com/liwenfei1991/lottie-ios: Poor performance (drop frame) during scrolling when animation is loop # Conflicts: # Sources/Private/LayerContainers/Utility/InvertedMatteLayer.swift --- .../MainThread/LayerContainers/Utility/InvertedMatteLayer.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Sources/Private/MainThread/LayerContainers/Utility/InvertedMatteLayer.swift b/Sources/Private/MainThread/LayerContainers/Utility/InvertedMatteLayer.swift index 2cbe54a483..91a92e8589 100644 --- a/Sources/Private/MainThread/LayerContainers/Utility/InvertedMatteLayer.swift +++ b/Sources/Private/MainThread/LayerContainers/Utility/InvertedMatteLayer.swift @@ -42,7 +42,6 @@ final class InvertedMatteLayer: CALayer, CompositionLayerDelegate { let wrapperLayer = CALayer() func frameUpdated(frame _: CGFloat) { - setNeedsDisplay() displayIfNeeded() }