Story optimizations

This commit is contained in:
Ali
2023-08-22 23:45:57 +04:00
parent a35f38c0f6
commit 4353823603
12 changed files with 498 additions and 230 deletions

View File

@@ -264,6 +264,10 @@ public final class TextFieldComponent: Component {
self.updateEntities()
}
public func hasFirstResponder() -> Bool {
return self.textView.isFirstResponder
}
public func insertText(_ text: NSAttributedString) {
self.updateInputState { state in
return state.insertText(text)