Tune dust

This commit is contained in:
Ilya Laktyushin
2021-12-02 17:15:54 +04:00
parent 0b6227b09c
commit b3eb582c22
2 changed files with 34 additions and 14 deletions

View File

@@ -390,7 +390,7 @@ class ChatMessageTextBubbleContentNode: ChatMessageBubbleContentNode {
dustNode = InvisibleInkDustNode()
dustNode.isRevealedUpdated = { [weak self] revealed in
if let strongSelf = self {
let transition = ContainedViewLayoutTransition.animated(duration: 0.3, curve: .linear)
let transition = ContainedViewLayoutTransition.animated(duration: 0.4, curve: .linear)
if let dustNode = strongSelf.dustNode {
transition.updateAlpha(node: dustNode, alpha: revealed ? 0.0 : 1.0)
}