mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
updated css-layout and fixed callsites
Reviewed By: mmahoney, nicklockwood Differential Revision: D2759669 fb-gh-sync-id: 0b099f9c7d68bbcb62a38d2a3e355dfb6c61eb4e
This commit is contained in:
committed by
facebook-github-bot-5
parent
f940e7c4a6
commit
d359c01f53
@@ -30,7 +30,7 @@ NSString *const RCTReactTagAttributeName = @"ReactTagAttributeName";
|
||||
CGFloat _effectiveLetterSpacing;
|
||||
}
|
||||
|
||||
static css_dim_t RCTMeasure(void *context, float width)
|
||||
static css_dim_t RCTMeasure(void *context, float width, float height)
|
||||
{
|
||||
RCTShadowText *shadowText = (__bridge RCTShadowText *)context;
|
||||
NSTextStorage *textStorage = [shadowText buildTextStorageForWidth:width];
|
||||
|
||||
Reference in New Issue
Block a user