From 5bb1e4813bdf11b4f96bd1c5df376c0920ad07a0 Mon Sep 17 00:00:00 2001 From: Emil Sjolander Date: Tue, 25 Apr 2017 03:18:15 -0700 Subject: [PATCH] Move reset into yoga node and dont set overflow as it has no effect Reviewed By: marco-cova Differential Revision: D4938759 fbshipit-source-id: 4cd6bc478dd1f56340f23e8bfe95fe7bb1b5db2d --- ReactAndroid/src/main/java/com/facebook/yoga/YogaNode.java | 1 + 1 file changed, 1 insertion(+) diff --git a/ReactAndroid/src/main/java/com/facebook/yoga/YogaNode.java b/ReactAndroid/src/main/java/com/facebook/yoga/YogaNode.java index f5d4fab03..f995d7866 100644 --- a/ReactAndroid/src/main/java/com/facebook/yoga/YogaNode.java +++ b/ReactAndroid/src/main/java/com/facebook/yoga/YogaNode.java @@ -139,6 +139,7 @@ public class YogaNode { mLayoutDirection = 0; mMeasureFunction = null; + mBaselineFunction = null; mData = null; jni_YGNodeReset(mNativePointer);