This commit is contained in:
Isaac
2025-11-07 20:39:37 +08:00
parent 6ea1d44e94
commit 62e92134e0
11 changed files with 294 additions and 29 deletions

View File

@@ -3863,6 +3863,7 @@ public class ChatTextInputPanelNode: ChatInputPanelNode, ASEditableTextNodeDeleg
let counterSize = self.counterTextNode.updateLayout(CGSize(width: 40.0, height: 40.0))
let counterFrame = CGRect(origin: CGPoint(x: backgroundSize.width - 11.0 - counterSize.width, y: 4.0), size: CGSize(width: counterSize.width, height: counterSize.height))
transition.updateFrame(node: self.counterTextNode, frame: counterFrame)
transition.updateAlpha(node: self.counterTextNode, alpha: backgroundSize.height > 50.0 ? 1.0 : 0.0)
}
private func installEmojiSuggestionPreviewGesture(hostView: UIView) {