summaryrefslogtreecommitdiff
path: root/src/ios.m
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-12-08 17:37:15 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-12-08 17:37:15 +0200
commit1fd1ad1f5220c0a567ca3839b32393b9ce274589 (patch)
tree63e11f6ca4425f5f845365eadbca2e0e85a3662d /src/ios.m
parenta8d64c19ee2a1015dbbaa019170940f6b7427485 (diff)
Mobile: Hide iOS text view background; Translation panel positioning
Mobile panels should always be root-parented, but the source document relationship is currently not communicated in any other way.
Diffstat (limited to 'src/ios.m')
-rw-r--r--src/ios.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ios.m b/src/ios.m
index 6a30c8a8..021e354d 100644
--- a/src/ios.m
+++ b/src/ios.m
@@ -759,7 +759,7 @@ 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 setBackgroundColor:backgroundColor]; 762 [view setBackgroundColor:[UIColor colorWithWhite:1.0f alpha:0.0f]];
763 [view setTextColor:textColor]; 763 [view setTextColor:textColor];
764 [view setTintColor:tintColor]; 764 [view setTintColor:tintColor];
765 [view setEditable:YES]; 765 [view setEditable:YES];