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:
committed by
Facebook Github Bot
parent
76f6a54327
commit
cdfd05c742
@@ -245,7 +245,7 @@ YG_PROPERTY(CGFloat, aspectRatio, AspectRatio)
|
||||
size.height = YGUndefined;
|
||||
}
|
||||
[self calculateLayoutWithSize:size];
|
||||
YGApplyLayoutToViewHierarchy(self.view, NO);
|
||||
YGApplyLayoutToViewHierarchy(self.view, preserveOrigin);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user