summaryrefslogtreecommitdiff
path: root/src/ios.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/ios.m')
-rw-r--r--src/ios.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ios.m b/src/ios.m
index 43d7ec69..c9e843e4 100644
--- a/src/ios.m
+++ b/src/ios.m
@@ -771,6 +771,9 @@ void init_SystemTextInput(iSystemTextInput *d, iRect rect, int flags) {
771 [view setBackgroundColor:[UIColor colorWithWhite:1.0f alpha:0.0f]]; 771 [view setBackgroundColor:[UIColor colorWithWhite:1.0f alpha:0.0f]];
772 [view setTextColor:textColor]; 772 [view setTextColor:textColor];
773 [view setTintColor:tintColor]; 773 [view setTintColor:tintColor];
774 if (flags & extraPadding_SystemTextInputFlag) {
775 [view setContentInset:(UIEdgeInsets){ 0, 0, 3 * gap_UI / get_Window()->pixelRatio, 0}];
776 }
774 [view setEditable:YES]; 777 [view setEditable:YES];
775 [view setDelegate:appState_]; 778 [view setDelegate:appState_];
776 [view becomeFirstResponder]; 779 [view becomeFirstResponder];