diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-08 15:54:05 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-08 17:09:29 +0200 |
commit | 776d917183f179545dbed6888788a8e3c0e5a7a7 (patch) | |
tree | 3b12aa2b6eb8d63c0ad8718f78f6271229ff53fc /src/ios.m | |
parent | ddd7f1a32ca00533ef33583efdf457a572c1ea03 (diff) |
iOS: Fixed text field position was shifting
The field was not tall enough, so it was scrolling slightly.
Some of the changes in InputWidget may have been unnecessary.
Diffstat (limited to 'src/ios.m')
-rw-r--r-- | src/ios.m | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -695,7 +695,7 @@ static CGRect convertToCGRect_(const iRect *rect, iBool expanded) { | |||
695 | frame.origin.x -= inset + 1; | 695 | frame.origin.x -= inset + 1; |
696 | frame.origin.y -= inset + 1; | 696 | frame.origin.y -= inset + 1; |
697 | frame.size.width += 2 * inset + 2; | 697 | frame.size.width += 2 * inset + 2; |
698 | frame.size.height += inset + 1; | 698 | frame.size.height += inset + 1 + inset; |
699 | } | 699 | } |
700 | return frame; | 700 | return frame; |
701 | } | 701 | } |