iOS:fix TextNode cannot switch back to normal style
This commit is contained in:
parent
83f24e0eb3
commit
ba099b6f7e
@ -110,6 +110,8 @@ - (void)blendView:(UILabel *)view forPropName:(NSString *)name propValue:(id)pro
|
||||
}
|
||||
if (fontDescriptor) {
|
||||
font = [UIFont fontWithDescriptor:fontDescriptor size:0];
|
||||
} else {
|
||||
font = [UIFont systemFontOfSize:view.font.pointSize];
|
||||
}
|
||||
view.font = font;
|
||||
} else if ([name isEqualToString:@"maxWidth"]) {
|
||||
|
Reference in New Issue
Block a user