summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ios.m5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ios.m b/src/ios.m
index b2a5bae4..6d0a8d0f 100644
--- a/src/ios.m
+++ b/src/ios.m
@@ -759,13 +759,10 @@ void init_SystemTextInput(iSystemTextInput *d, iRect rect, int flags) {
759 } 759 }
760 else { 760 else {
761 UITextView *view = REF_d_view; 761 UITextView *view = REF_d_view;
762 [view setTextColor:textColor];
763 [view setBackgroundColor:backgroundColor]; 762 [view setBackgroundColor:backgroundColor];
763 [view setTextColor:textColor];
764 [view setTintColor:tintColor]; 764 [view setTintColor:tintColor];
765 [view setEditable:YES]; 765 [view setEditable:YES];
766// [REF_d_view setSelectable:YES];
767 const float inset = gap_UI / get_Window()->pixelRatio;
768 //[view setTextContainerInset:(UIEdgeInsets){ inset - 1, -inset - 1, 0, -inset - 1 }];
769 [view setDelegate:appState_]; 766 [view setDelegate:appState_];
770 [view becomeFirstResponder]; 767 [view becomeFirstResponder];
771 } 768 }