iOS:fix yoga source code typo

This commit is contained in:
pengfei.zhou 2023-04-04 11:11:39 +08:00 committed by jingpeng
parent ef070e0e6f
commit 9f5eea4764

View File

@ -2193,7 +2193,7 @@ static float YGDistributeFreeSpaceSecondPass(
layoutMarkerData,
layoutContext);
node->setLayoutHadOverflow(
node->getLayout().hadOverflow |
node->getLayout().hadOverflow ||
currentRelativeChild->getLayout().hadOverflow);
}
return deltaFreeSpace;