diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-19 07:20:03 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-09-19 07:20:03 +0300 |
commit | 68508e54e5707d6ab69cabf8413d58cd89531a38 (patch) | |
tree | 954df0eaa8fa302215555b0ac7ba8949bf591dd4 /src/ui/root.c | |
parent | b149fb3ae65af6f58fc6e7fb4f569ab534a32759 (diff) |
Widget: Scrolling tall widgets in vertical split
Root's safe rect was not using the right origin coordinates.
IssueID #337
Diffstat (limited to 'src/ui/root.c')
-rw-r--r-- | src/ui/root.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/root.c b/src/ui/root.c index b00fab28..6ea5f521 100644 --- a/src/ui/root.c +++ b/src/ui/root.c | |||
@@ -1515,7 +1515,7 @@ iRect rect_Root(const iRoot *d) { | |||
1515 | } | 1515 | } |
1516 | 1516 | ||
1517 | iRect safeRect_Root(const iRoot *d) { | 1517 | iRect safeRect_Root(const iRoot *d) { |
1518 | iRect rect = { zero_I2(), size_Root(d) }; | 1518 | iRect rect = rect_Root(d); |
1519 | #if defined (iPlatformAppleMobile) | 1519 | #if defined (iPlatformAppleMobile) |
1520 | float left, top, right, bottom; | 1520 | float left, top, right, bottom; |
1521 | safeAreaInsets_iOS(&left, &top, &right, &bottom); | 1521 | safeAreaInsets_iOS(&left, &top, &right, &bottom); |