mirror of
https://github.com/transmission/transmission
synced 2024-12-24 00:34:04 +00:00
hide the pause button when checking
This commit is contained in:
parent
c7d97e5f0a
commit
92ba91161a
2 changed files with 4 additions and 4 deletions
|
@ -539,7 +539,7 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
|
|||
{
|
||||
tr_torrentStop(fHandle);
|
||||
[self update];
|
||||
|
||||
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateQueue" object: self];
|
||||
}
|
||||
}
|
||||
|
|
|
@ -247,8 +247,8 @@
|
|||
{
|
||||
torrent = [fTorrents objectAtIndex: i];
|
||||
rect = [self pauseRectForRow: i];
|
||||
|
||||
if ([torrent isActive])
|
||||
|
||||
if ([torrent isActive] && ![torrent isChecking])
|
||||
image = NSPointInRect(fClickPoint, rect) ? fPauseOnIcon : fPauseOffIcon;
|
||||
else if ([torrent isPaused])
|
||||
{
|
||||
|
@ -261,7 +261,7 @@
|
|||
}
|
||||
else
|
||||
image = nil;
|
||||
|
||||
|
||||
if (image)
|
||||
[image compositeToPoint: NSMakePoint(rect.origin.x, NSMaxY(rect)) operation: NSCompositeSourceOver];
|
||||
|
||||
|
|
Loading…
Reference in a new issue