Changeset 4019


Ignore:
Timestamp:
Nov 30, 2007, 2:22:49 PM (14 years ago)
Author:
livings124
Message:

revert last commit...it wasn't as reliable

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/FileNameCell.m

    r4018 r4019  
    9292    //title
    9393    NSColor * specialColor = nil;
    94     if ([self isHighlighted] && [[controlView window] isKeyWindow] && [[controlView window] firstResponder] == controlView)
     94    if ([self isHighlighted]
     95            && [[self highlightColorWithFrame: cellFrame inView: controlView] isEqual: [NSColor alternateSelectedControlColor]])
    9596        specialColor = [NSColor whiteColor];
    9697    else if ([[(FileOutlineView *)[self controlView] torrent] checkForFiles:
  • trunk/macosx/TorrentCell.m

    r4018 r4019  
    224224    //text color
    225225    NSColor * titleColor, * statusColor;
    226     if ([self isHighlighted] && [[controlView window] isKeyWindow] && [[controlView window] firstResponder] == controlView)
     226    if ([self isHighlighted]
     227        && [[self highlightColorWithFrame: cellFrame inView: controlView] isEqual: [NSColor alternateSelectedControlColor]])
    227228    {
    228229        titleColor = [NSColor whiteColor];
Note: See TracChangeset for help on using the changeset viewer.