mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-22 18:30:43 +00:00
Update deprecated NSCenterTextAlignment usage to NSTextAlignmentCenter
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
- (void)_setTextColor:(NSColor *)color forButton:(NSButton *)button
|
||||
{
|
||||
NSMutableParagraphStyle *paragraphStyle= [NSMutableParagraphStyle new];
|
||||
[paragraphStyle setAlignment:NSCenterTextAlignment];
|
||||
[paragraphStyle setAlignment:NSTextAlignmentCenter];
|
||||
|
||||
NSDictionary *attrs = @{NSFontAttributeName: [NSFont systemFontOfSize:11],
|
||||
NSForegroundColorAttributeName: color,
|
||||
@@ -509,4 +509,4 @@
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user