diff --git a/YRSolcounter.m b/YRSolcounter.m index d43f98a..fac773b 100644 --- a/YRSolcounter.m +++ b/YRSolcounter.m @@ -67,7 +67,7 @@ -(void) handleTimer: (NSTimer*)_ { int length = [solCount length]; NSRange nanosolRange = NSMakeRange(length - (1 * 4), 4); NSRange microsolRange = NSMakeRange(length - (2 * 4), 4); - NSRange millisolRange = NSMakeRange(length - (3 * 4), 4); +//NSRange millisolRange = NSMakeRange(length - (3 * 4), 4); NSRange radixRange = NSMakeRange(length - (3 * 4) - 1, 1); NSRange solRange = NSMakeRange(length - (4 * 4) - 1, 4); NSRange kilosolRange = NSMakeRange(0, 3); @@ -75,13 +75,16 @@ -(void) handleTimer: (NSTimer*)_ { [attributedSolCount addAttribute: NSFontAttributeName value: radixFont range: radixRange]; [attributedSolCount addAttribute: NSForegroundColorAttributeName - value: [[NSColor blackColor] colorWithAlphaComponent:.3] + value: [[NSColor blackColor] colorWithAlphaComponent:.2] range: nanosolRange]; [attributedSolCount addAttribute: NSForegroundColorAttributeName - value: [[NSColor blackColor] colorWithAlphaComponent:.3] + value: [[NSColor blackColor] colorWithAlphaComponent:.2] range: microsolRange]; [attributedSolCount addAttribute: NSForegroundColorAttributeName - value: [[NSColor blackColor] colorWithAlphaComponent:.3] + value: [[NSColor blackColor] colorWithAlphaComponent:.2] + range: solRange]; + [attributedSolCount addAttribute: NSForegroundColorAttributeName + value: [[NSColor blackColor] colorWithAlphaComponent:.2] range: kilosolRange]; [textField setAttributedStringValue: attributedSolCount];