Fix clone of MutableYogaValue inside LayoutShadowNode
Reviewed By: achen1 Differential Revision: D7815809 fbshipit-source-id: 833af43387895b0b5193d6bef54c99023da01c9c
This commit is contained in:
parent
2d9e2f30e1
commit
837d496ac8
|
@ -74,7 +74,7 @@ public class LayoutShadowNode extends ReactShadowNodeImpl {
|
|||
|
||||
protected LayoutShadowNode(LayoutShadowNode node) {
|
||||
super(node);
|
||||
mTempYogaValue = new MutableYogaValue();
|
||||
mTempYogaValue = new MutableYogaValue(node.mTempYogaValue);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -527,7 +527,6 @@ public class LayoutShadowNode extends ReactShadowNodeImpl {
|
|||
if (isVirtual()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (overflow == null) {
|
||||
setOverflow(YogaOverflow.VISIBLE);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue