Various fixes

This commit is contained in:
Ilya Laktyushin
2022-12-19 17:04:37 +04:00
parent 8a9a557870
commit 84bbf58e88
11 changed files with 54 additions and 18 deletions

View File

@@ -280,7 +280,7 @@ private final class ContextControllerActionsListActionItemNode: HighlightTrackin
} else if let animationName = self.item.animationName {
if self.animationNode == nil {
let animationNode = AnimationNode(animation: animationName, colors: ["__allcolors__": titleColor], scale: 1.0)
animationNode.loop()
animationNode.loop(count: 3)
self.addSubnode(animationNode)
self.animationNode = animationNode
}