Changeset 532


Ignore:
Timestamp:
Jul 5, 2006, 10:53:37 PM (17 years ago)
Author:
livings124
Message:

double clicking the icon will now work properly in small view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/TorrentTableView.m

    r530 r532  
    211211   
    212212    NSRect cellRect = [self frameOfCellAtColumn: [self columnWithIdentifier: @"Torrent"] row: row];
    213     NSSize iconSize = [[[fTorrents objectAtIndex: row] iconFlipped] size];
     213    NSSize iconSize = [fDefaults boolForKey: @"SmallView"] ? [[[fTorrents objectAtIndex: row] iconSmall] size]
     214                                                        : [[[fTorrents objectAtIndex: row] iconFlipped] size];
    214215   
    215216    NSRect iconRect = NSMakeRect(cellRect.origin.x + 3.0, cellRect.origin.y
Note: See TracChangeset for help on using the changeset viewer.