fix build failure

This commit is contained in:
Bin Liu
2016-01-05 21:20:52 -08:00
parent 4f67050b9b
commit 6a4c953443

View File

@@ -60,7 +60,7 @@
NSDictionary *attributes = @{NSFontAttributeName: [UIFont fontWithName:@"HelveticaNeue-Light" size:22.0f]};
NSAttributedString *string = [[NSAttributedString alloc] initWithString:text
attributes:attributes];
[_buttonNode setAttributedTitle:string forState:ASButtonStateNormal];
[_buttonNode setAttributedTitle:string forState:ASControlStateNormal];
[self setNeedsLayout];
}