1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00

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

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)
{