diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-07 15:05:46 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-07 15:05:46 +0200 |
commit | 3820426634f2fb18a19baee00c7e445f3a2b7d30 (patch) | |
tree | 5f64093b27d797e8e31148f8167945b286ac782d /src/ios.m | |
parent | 1c15be5ee3672a5e066be718fa35a01111c7ec9a (diff) |
Cleanup
Diffstat (limited to 'src/ios.m')
-rw-r--r-- | src/ios.m | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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 | } |