mirror of
https://github.com/transmission/transmission
synced 2024-12-27 18:18:10 +00:00
don't show the file icon in minimal mode when hovered over
This commit is contained in:
parent
f624a2013e
commit
4dbbe863f9
1 changed files with 5 additions and 2 deletions
|
@ -467,8 +467,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
//icon
|
//icon
|
||||||
|
if (!minimal || !(!fTracking && fHoverAction)) //don't show in minimal mode when hovered over
|
||||||
|
{
|
||||||
NSImage * icon = minimal && error ? fErrorImage : [torrent icon];
|
NSImage * icon = minimal && error ? fErrorImage : [torrent icon];
|
||||||
[icon drawInRect: iconRect fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0];
|
[icon drawInRect: iconRect fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0];
|
||||||
|
}
|
||||||
|
|
||||||
if (error && !minimal)
|
if (error && !minimal)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue