avoid unnecessarily specifying a color
This commit is contained in:
parent
74324bb1f1
commit
0adeb9b2f6
|
@ -68,8 +68,7 @@
|
|||
{
|
||||
NSDictionary * attributes = [[NSDictionary alloc] initWithObjectsAndKeys:
|
||||
[[NSFontManager sharedFontManager] convertFont: [NSFont fontWithName: @"Lucida Grande" size: 10.0]
|
||||
toHaveTrait: NSBoldFontMask], NSFontAttributeName,
|
||||
[NSColor blackColor], NSForegroundColorAttributeName, nil];
|
||||
toHaveTrait: NSBoldFontMask], NSFontAttributeName, nil];
|
||||
|
||||
NSString * string = [NSString stringWithInt: count];
|
||||
NSSize stringSize = [string sizeWithAttributes: attributes];
|
||||
|
|
Loading…
Reference in New Issue