don't show the file icon in minimal mode when hovered over

This commit is contained in:
Mitchell Livingston 2008-01-16 06:26:52 +00:00
parent f624a2013e
commit 4dbbe863f9
1 changed files with 5 additions and 2 deletions

View File

@ -467,8 +467,11 @@
}
//icon
NSImage * icon = minimal && error ? fErrorImage : [torrent icon];
[icon drawInRect: iconRect fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0];
if (!minimal || !(!fTracking && fHoverAction)) //don't show in minimal mode when hovered over
{
NSImage * icon = minimal && error ? fErrorImage : [torrent icon];
[icon drawInRect: iconRect fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0];
}
if (error && !minimal)
{