Permalink
Browse files

Fixing clowntown in RCTSurfaceRootShadowView

Summary: Obvious.

Reviewed By: mmmulani

Differential Revision: D6829844

fbshipit-source-id: 6c49be990fbcc3be2b5595866c3d1fd42a3eb3e9
  • Loading branch information...
shergin authored and facebook-github-bot committed Jan 30, 2018
1 parent da8bec9 commit 5fba82deffde731176e3e118193c212f5d2c2bca
Showing with 2 additions and 2 deletions.
  1. +2 −2 React/Base/Surface/RCTSurfaceRootShadowView.m
@@ -47,8 +47,8 @@ - (void)calculateLayoutWithMinimumSize:(CGSize)minimumSize maximumSize:(CGSize)m
{
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,

1 comment on commit 5fba82d

@janicduplessis

This comment has been minimized.

Collaborator

janicduplessis commented on 5fba82d Jan 31, 2018

@shergin maximimSize also 😄

Please sign in to comment.