diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-18 14:23:02 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-18 14:23:02 +0200 |
commit | 2a3da970abf17115b5d9d0404213c617b80f3f25 (patch) | |
tree | d484e1894c4482744facf6f82e53396ea0fb4c00 /src/ui/widget.c | |
parent | 2296cd2e6e6e6d7b34d6a61bba2d326383e6b456 (diff) |
Widget: Fixed parent not arranging children
Diffstat (limited to 'src/ui/widget.c')
-rw-r--r-- | src/ui/widget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c index 4f5d174c..fa0a20c9 100644 --- a/src/ui/widget.c +++ b/src/ui/widget.c | |||
@@ -321,7 +321,7 @@ iLocalDef iBool isArranged_Widget_(const iWidget *d) { | |||
321 | static size_t numArrangedChildren_Widget_(const iWidget *d) { | 321 | static size_t numArrangedChildren_Widget_(const iWidget *d) { |
322 | size_t count = 0; | 322 | size_t count = 0; |
323 | iConstForEach(ObjectList, i, d->children) { | 323 | iConstForEach(ObjectList, i, d->children) { |
324 | if (isArranged_Widget_(d)) { | 324 | if (isArranged_Widget_(i.object)) { |
325 | count++; | 325 | count++; |
326 | } | 326 | } |
327 | } | 327 | } |