File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1553,9 +1553,6 @@ static void YGNodeComputeFlexBasisForChildren(
1553
1553
child->setDirty (false );
1554
1554
continue ;
1555
1555
}
1556
- if (child->getStyle ().positionType == YGPositionTypeAbsolute) {
1557
- continue ;
1558
- }
1559
1556
if (performLayout) {
1560
1557
// Set the initial position (relative to the parent).
1561
1558
const YGDirection childDirection = child->resolveDirection (direction);
@@ -1568,6 +1565,10 @@ static void YGNodeComputeFlexBasisForChildren(
1568
1565
child->setPosition (
1569
1566
childDirection, mainDim, crossDim, availableInnerWidth);
1570
1567
}
1568
+
1569
+ if (child->getStyle ().positionType == YGPositionTypeAbsolute) {
1570
+ continue ;
1571
+ }
1571
1572
if (child == singleFlexChild) {
1572
1573
child->setLayoutComputedFlexBasisGeneration (gCurrentGenerationCount );
1573
1574
child->setLayoutComputedFlexBasis (0 );
You can’t perform that action at this time.
0 commit comments