Various improvements

This commit is contained in:
Ilya Laktyushin
2022-12-31 18:53:45 +04:00
parent 6a15dbb4bb
commit fabf9220a6
11 changed files with 189 additions and 118 deletions

View File

@@ -78,7 +78,6 @@ private final class ChatButtonKeyboardInputButtonNode: HighlightTrackingButtonNo
if let strongSelf = self {
if highlighted, !strongSelf.bounds.width.isZero {
let scale = (strongSelf.bounds.width - 10.0) / strongSelf.bounds.width
strongSelf.layer.animateScale(from: 1.0, to: scale, duration: 0.15, removeOnCompletion: false)
strongSelf.backgroundContainerNode.layer.removeAnimation(forKey: "opacity")