mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
revert last commit...it wasn't as reliable
This commit is contained in:
parent
3858f817c5
commit
a7204affff
2 changed files with 4 additions and 2 deletions
|
@ -91,7 +91,8 @@
|
|||
|
||||
//title
|
||||
NSColor * specialColor = nil;
|
||||
if ([self isHighlighted] && [[controlView window] isKeyWindow] && [[controlView window] firstResponder] == controlView)
|
||||
if ([self isHighlighted]
|
||||
&& [[self highlightColorWithFrame: cellFrame inView: controlView] isEqual: [NSColor alternateSelectedControlColor]])
|
||||
specialColor = [NSColor whiteColor];
|
||||
else if ([[(FileOutlineView *)[self controlView] torrent] checkForFiles:
|
||||
[[self objectValue] objectForKey: @"Indexes"]] == NSOffState)
|
||||
|
|
|
@ -223,7 +223,8 @@
|
|||
|
||||
//text color
|
||||
NSColor * titleColor, * statusColor;
|
||||
if ([self isHighlighted] && [[controlView window] isKeyWindow] && [[controlView window] firstResponder] == controlView)
|
||||
if ([self isHighlighted]
|
||||
&& [[self highlightColorWithFrame: cellFrame inView: controlView] isEqual: [NSColor alternateSelectedControlColor]])
|
||||
{
|
||||
titleColor = [NSColor whiteColor];
|
||||
statusColor = [NSColor whiteColor];
|
||||
|
|
Loading…
Reference in a new issue