From feb365a77b4067aa588364cab6c1df2ee05020b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20W=C3=B6hrl?= Date: Fri, 3 Mar 2017 10:20:24 -0800 Subject: [PATCH] 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 --- yoga/Yoga.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yoga/Yoga.c b/yoga/Yoga.c index 1e4311da..51838d87 100644 --- a/yoga/Yoga.c +++ b/yoga/Yoga.c @@ -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); } }