diff options
Diffstat (limited to 'src/ui/inputwidget.c')
-rw-r--r-- | src/ui/inputwidget.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c index 690107a2..f1b21922 100644 --- a/src/ui/inputwidget.c +++ b/src/ui/inputwidget.c | |||
@@ -542,8 +542,10 @@ static int contentHeight_InputWidget_(const iInputWidget *d) { | |||
542 | } | 542 | } |
543 | 543 | ||
544 | static void updateTextInputRect_InputWidget_(const iInputWidget *d) { | 544 | static void updateTextInputRect_InputWidget_(const iInputWidget *d) { |
545 | #if !defined (iPlatformAppleMobile) | ||
545 | const iRect bounds = bounds_Widget(constAs_Widget(d)); | 546 | const iRect bounds = bounds_Widget(constAs_Widget(d)); |
546 | SDL_SetTextInputRect(&(SDL_Rect){ bounds.pos.x, bounds.pos.y, bounds.size.x, bounds.size.y }); | 547 | SDL_SetTextInputRect(&(SDL_Rect){ bounds.pos.x, bounds.pos.y, bounds.size.x, bounds.size.y }); |
548 | #endif | ||
547 | } | 549 | } |
548 | 550 | ||
549 | static void updateMetrics_InputWidget_(iInputWidget *d) { | 551 | static void updateMetrics_InputWidget_(iInputWidget *d) { |