mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-03 09:55:53 +00:00
lottie: use testFlag() api to test the flag.
Change-Id: I3ee5341c66562241f0d83ee396347804d5b0eb7d
This commit is contained in:
@@ -389,7 +389,7 @@ void LOTLayerItem::update(int frameNumber, const VMatrix &parentMatrix,
|
||||
}
|
||||
|
||||
// 5. if no parent property change and layer is static then nothing to do.
|
||||
if ((flag() & DirtyFlagBit::None) && isStatic()) return;
|
||||
if (flag().testFlag(DirtyFlagBit::None) && isStatic()) return;
|
||||
|
||||
// 6. update the content of the layer
|
||||
updateContent();
|
||||
|
||||
Reference in New Issue
Block a user