Fixed typo in RCTSurfaceRootShadowView
Summary: Trivial. Special thanks to janicduplessis Created from Diffusion's 'Open in Editor' feature. Reviewed By: fkgozali Differential Revision: D6863932 fbshipit-source-id: d40a30271adc5c8d47149ab920e2ac11158ab756
This commit is contained in:
parent
a2f3ba864e
commit
d74ff6fadd
|
@ -43,7 +43,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
- (void)calculateLayoutWithMinimumSize:(CGSize)minimumSize maximumSize:(CGSize)maximimSize
|
||||
- (void)calculateLayoutWithMinimumSize:(CGSize)minimumSize maximumSize:(CGSize)maximumSize
|
||||
{
|
||||
YGNodeRef yogaNode = self.yogaNode;
|
||||
|
||||
|
@ -52,8 +52,8 @@
|
|||
|
||||
YGNodeCalculateLayout(
|
||||
self.yogaNode,
|
||||
RCTYogaFloatFromCoreGraphicsFloat(maximimSize.width),
|
||||
RCTYogaFloatFromCoreGraphicsFloat(maximimSize.height),
|
||||
RCTYogaFloatFromCoreGraphicsFloat(maximumSize.width),
|
||||
RCTYogaFloatFromCoreGraphicsFloat(maximumSize.height),
|
||||
_baseDirection
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue