Text input updates

This commit is contained in:
Isaac
2025-10-03 18:47:47 +08:00
parent c962e6f56a
commit 06936fa06c
11 changed files with 235 additions and 152 deletions

View File

@@ -276,6 +276,20 @@ public final class ChatInputMessageAccessoryPanel: Component {
private var inlineTextStarImage: UIImage?
private var inlineTextTonImage: (UIImage, UIColor)?
public var transitionData: ChatInputAccessoryPanelTransitionData? {
guard let textView = self.text.view else {
return nil
}
return ChatInputAccessoryPanelTransitionData(
titleView: self.titleNode.view,
textView: textView,
lineView: self.lineView,
imageView: nil
)
}
public var storedFrameBeforeDismissed: CGRect?
override public init(frame: CGRect) {
self.contentTintView = UIView()