mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-04 22:56:32 +08:00
Fixing clowntown in RCTSurfaceRootShadowView
Summary: Obvious. Reviewed By: mmmulani Differential Revision: D6829844 fbshipit-source-id: 6c49be990fbcc3be2b5595866c3d1fd42a3eb3e9
This commit is contained in:
committed by
Facebook Github Bot
parent
da8bec9f8b
commit
5fba82deff
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user