mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
revert last commit...it wasn't as reliable
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user