mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Update animation
This commit is contained in:
@@ -2182,9 +2182,14 @@ class ChatTextInputPanelNode: ChatInputPanelNode, ASEditableTextNodeDelegate {
|
||||
let backgroundView = UIImageView(image: backgroundImage)
|
||||
backgroundView.frame = self.textInputBackgroundNode.frame
|
||||
|
||||
guard let contentView = textInputNode.view.snapshotView(afterScreenUpdates: false) else {
|
||||
//let previousTintColor = textInputNode.view.tintColor
|
||||
//textInputNode.view.tintColor = .clear
|
||||
|
||||
guard let contentView = textInputNode.view.snapshotView(afterScreenUpdates: true) else {
|
||||
//textInputNode.view.tintColor = previousTintColor
|
||||
return nil
|
||||
}
|
||||
//textInputNode.view.tintColor = previousTintColor
|
||||
contentView.frame = textInputNode.frame
|
||||
|
||||
return ChatMessageTransitionNode.Source.TextInput(
|
||||
|
||||
Reference in New Issue
Block a user