Explicitly set new experimental and a small other improvement

Summary:
This sets the new ```YGExperimentalFeatureMinFlexFix``` explicitly to false in the config.

It also a changes a stretch reason to reflect that it is the strech in a multiline.
Closes https://github.com/facebook/yoga/pull/447

Reviewed By: astreet

Differential Revision: D4642275

Pulled By: emilsjolander

fbshipit-source-id: 26777db7008ff6ee86da72ca9ea19e979b916cc9
This commit is contained in:
Lukas Wöhrl 2017-03-03 10:20:24 -08:00 committed by Facebook Github Bot
parent 1b79e5557d
commit a1406c4824
1 changed files with 2 additions and 1 deletions

View File

@ -198,6 +198,7 @@ static YGConfig gYGConfigDefaults = {
.experimentalFeatures =
{
[YGExperimentalFeatureRounding] = false,
[YGExperimentalFeatureMinFlexFix] = false,
[YGExperimentalFeatureWebFlexBasis] = false,
},
};
@ -2868,7 +2869,7 @@ static void YGNodelayoutImpl(const YGNodeRef node,
availableInnerWidth,
availableInnerHeight,
true,
"stretch",
"multiline-stretch",
config);
}
}