diff options
Diffstat (limited to 'src/ios.m')
-rw-r--r-- | src/ios.m | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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]; |