mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-14 20:44:29 +00:00
Update deprecated NSCenterTextAlignment usage to NSTextAlignmentCenter
This commit is contained in:
1 parent
96a3c4b9dd
commit
d1611bae12
1 file changed
+2
-2
@@ -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