fix measure inner dimensions
This commit is contained in:
@@ -2953,9 +2953,9 @@ static void YGNodelayoutImpl(
|
||||
} else {
|
||||
if (!node->getConfig()->useLegacyStretchBehaviour &&
|
||||
((YGFloatIsUndefined(
|
||||
collectedFlexItemsValues.totalFlexGrowFactors) &&
|
||||
collectedFlexItemsValues.totalFlexGrowFactors) ||
|
||||
collectedFlexItemsValues.totalFlexGrowFactors == 0) ||
|
||||
(YGFloatIsUndefined(node->resolveFlexGrow()) &&
|
||||
(YGFloatIsUndefined(node->resolveFlexGrow()) ||
|
||||
node->resolveFlexGrow() == 0))) {
|
||||
// If we don't have any children to flex or we can't flex the node
|
||||
// itself, space we've used is all space we need. Root node also
|
||||
|
Reference in New Issue
Block a user