mirror of
https://github.com/transmission/transmission
synced 2024-12-25 09:13:06 +00:00
double clicking the icon will now work properly in small view
This commit is contained in:
parent
aa54615b21
commit
b96b40602a
1 changed files with 2 additions and 1 deletions
|
@ -210,7 +210,8 @@
|
|||
return NO;
|
||||
|
||||
NSRect cellRect = [self frameOfCellAtColumn: [self columnWithIdentifier: @"Torrent"] row: row];
|
||||
NSSize iconSize = [[[fTorrents objectAtIndex: row] iconFlipped] size];
|
||||
NSSize iconSize = [fDefaults boolForKey: @"SmallView"] ? [[[fTorrents objectAtIndex: row] iconSmall] size]
|
||||
: [[[fTorrents objectAtIndex: row] iconFlipped] size];
|
||||
|
||||
NSRect iconRect = NSMakeRect(cellRect.origin.x + 3.0, cellRect.origin.y
|
||||
+ (cellRect.size.height - iconSize.height) * 0.5, iconSize.width, iconSize.height);
|
||||
|
|
Loading…
Reference in a new issue