From 2a3da970abf17115b5d9d0404213c617b80f3f25 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Thu, 18 Mar 2021 14:23:02 +0200 Subject: Widget: Fixed parent not arranging children --- src/ui/widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui') 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) { static size_t numArrangedChildren_Widget_(const iWidget *d) { size_t count = 0; iConstForEach(ObjectList, i, d->children) { - if (isArranged_Widget_(d)) { + if (isArranged_Widget_(i.object)) { count++; } } -- cgit v1.2.3