If the measure function is defined: only return from execution of layoutNode, when the node has no children.
This commit is contained in:
@@ -431,7 +431,9 @@ static void layoutNodeImpl(css_node_t *node, float parentMaxWidth) {
|
||||
getPaddingAndBorderAxis(node, CSS_FLEX_DIRECTION_COLUMN);
|
||||
}
|
||||
}
|
||||
return;
|
||||
if (node->children_count == 0) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
int i;
|
||||
|
Reference in New Issue
Block a user