FabricUIManagerModuleTest setup and testCloneNode

Reviewed By: mdvacca

Differential Revision: D7037558

fbshipit-source-id: a62617c7e16102cf7d12ecde48a95feec264fa51
This commit is contained in:
Andrew Chen (Eng)
2018-02-21 12:36:41 -08:00
committed by Facebook Github Bot
parent 7dd12a26b9
commit 190e6bef2e
2 changed files with 18 additions and 3 deletions

View File

@@ -57,9 +57,7 @@ public class ReactShadowNodeImpl implements ReactShadowNode<ReactShadowNodeImpl>
private static final YogaConfig sYogaConfig;
static {
sYogaConfig = new YogaConfig();
sYogaConfig.setPointScaleFactor(0f);
sYogaConfig.setUseLegacyStretchBehaviour(true);
sYogaConfig = ReactYogaConfigProvider.get();
}
private int mReactTag;