Skip to content

Commit

Permalink
update measure
Browse files Browse the repository at this point in the history
  • Loading branch information
kinarobin committed Oct 8, 2022
1 parent 4aab3f0 commit 6be2fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yoga/Yoga.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2955,7 +2955,7 @@ static void YGNodelayoutImpl(
((!YGFloatIsUndefined(
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
Expand Down

0 comments on commit 6be2fbf

Please sign in to comment.