Fixing clowntown in RCTSurfaceRootShadowView

Summary: Obvious.

Reviewed By: mmmulani

Differential Revision: D6829844

fbshipit-source-id: 6c49be990fbcc3be2b5595866c3d1fd42a3eb3e9
This commit is contained in:
Valentin Shergin authored and Facebook Github Bot committed 2018-01-30 14:31:57 -08:00
1 parent da8bec9f8b
commit 5fba82deff
1 file changed
+2 -2
@@ -47,8 +47,8 @@
{
YGNodeRef yogaNode = self.yogaNode;
YGNodeStyleSetMinWidth(yogaNode, RCTYogaFloatFromCoreGraphicsFloat(maximimSize.width));
YGNodeStyleSetMinHeight(yogaNode, RCTYogaFloatFromCoreGraphicsFloat(maximimSize.height));
YGNodeStyleSetMinWidth(yogaNode, RCTYogaFloatFromCoreGraphicsFloat(minimumSize.width));
YGNodeStyleSetMinHeight(yogaNode, RCTYogaFloatFromCoreGraphicsFloat(minimumSize.height));
YGNodeCalculateLayout(
self.yogaNode,