This commit is contained in:
Ali
2023-08-08 23:23:47 +03:00
parent 2d1bac5a46
commit f2da1e2315
30 changed files with 2813 additions and 982 deletions

View File

@@ -2047,6 +2047,10 @@ public final class ReactionContextNode: ASDisplayNode, UIScrollViewDelegate {
targetView.addSubnode(itemNode)
itemNode.frame = selfTargetBounds
}
} else if let targetView = targetView as? UIImageView {
itemNode.isHidden = true
targetView.layer.animateAlpha(from: 0.0, to: 1.0, duration: 0.12)
targetView.layer.animateScale(from: 0.2, to: 1.0, duration: 0.12)
}
if switchToInlineImmediately {