mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
don't show the file icon in minimal mode when hovered over
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user