If the measure function is defined: only return from execution of layoutNode, when the node has no children.

This commit is contained in:
Lukas Reichart
2015-05-10 17:46:48 +02:00
parent 8cdf0d0228
commit fca176109d
3 changed files with 9 additions and 3 deletions

View File

@@ -369,7 +369,9 @@ public class LayoutEngine {
getPaddingAndBorderAxis(node, CSSFlexDirection.COLUMN);
}
}
return;
if (node.getChildCount() == 0) {
return;
}
}
int i;