Changeset 4208


Ignore:
Timestamp:
Dec 18, 2007, 9:32:55 PM (14 years ago)
Author:
livings124
Message:

more adjusting of the group coloring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/TorrentCell.m

    r4202 r4208  
    213213    int groupValue = [torrent groupValue];
    214214    if (groupValue != -1)
     215    {
     216        NSRect groupRect = NSInsetRect(iconRect, -2.0, -3.0);
     217        if (!minimal)
     218        {
     219            groupRect.size.height--;
     220            groupRect.origin.y--;
     221        }
     222       
    215223        [[[GroupsWindowController groupsController] gradientForIndex: groupValue] fillBezierPath:
    216             [NSBezierPath bezierPathWithRoundedRect: NSInsetRect(iconRect, -2.0, minimal ? -3.0 : -2.0) radius: 6.0] angle: 90.0];
     224            [NSBezierPath bezierPathWithRoundedRect: groupRect radius: 6.0] angle: 90.0];
     225    }
    217226   
    218227    //error image
Note: See TracChangeset for help on using the changeset viewer.