Fix the parameter error

Summary: Closes https://github.com/facebook/yoga/pull/528

Differential Revision: D4953974

Pulled By: emilsjolander

fbshipit-source-id: eda4770d4eb6cf52304d40a1b7ac17c2f0e17148
This commit is contained in:
ChengWei
2017-04-26 11:14:15 -07:00
committed by Facebook Github Bot
parent 76f6a54327
commit cdfd05c742

View File

@@ -245,7 +245,7 @@ YG_PROPERTY(CGFloat, aspectRatio, AspectRatio)
size.height = YGUndefined;
}
[self calculateLayoutWithSize:size];
YGApplyLayoutToViewHierarchy(self.view, NO);
YGApplyLayoutToViewHierarchy(self.view, preserveOrigin);
}