C++ style enums 4/N: Errata (#1388)
Summary: X-link: https://github.com/facebook/react-native/pull/39451 Pull Request resolved: https://github.com/facebook/yoga/pull/1388 This converts usages of YGErrata to Errata Reviewed By: rozele Differential Revision: D49270354 fbshipit-source-id: 39c0d26a1609cca0a96da843796ab41c81e3af93
This commit is contained in:
committed by
Facebook GitHub Bot
parent
42e1f2c737
commit
6f5eaefc51
@@ -1755,7 +1755,7 @@ static void calculateLayoutImpl(
|
||||
availableInnerMainDim = maxInnerMainDim;
|
||||
} else {
|
||||
bool useLegacyStretchBehaviour =
|
||||
node->hasErrata(YGErrataStretchFlexBasis);
|
||||
node->hasErrata(Errata::StretchFlexBasis);
|
||||
|
||||
if (!useLegacyStretchBehaviour &&
|
||||
((!yoga::isUndefined(flexLine.layout.totalFlexGrowFactors) &&
|
||||
|
Reference in New Issue
Block a user