hide the pause button when checking
This commit is contained in:
parent
c7d97e5f0a
commit
92ba91161a
|
@ -539,7 +539,7 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
|
||||||
{
|
{
|
||||||
tr_torrentStop(fHandle);
|
tr_torrentStop(fHandle);
|
||||||
[self update];
|
[self update];
|
||||||
|
|
||||||
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateQueue" object: self];
|
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateQueue" object: self];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -247,8 +247,8 @@
|
||||||
{
|
{
|
||||||
torrent = [fTorrents objectAtIndex: i];
|
torrent = [fTorrents objectAtIndex: i];
|
||||||
rect = [self pauseRectForRow: i];
|
rect = [self pauseRectForRow: i];
|
||||||
|
|
||||||
if ([torrent isActive])
|
if ([torrent isActive] && ![torrent isChecking])
|
||||||
image = NSPointInRect(fClickPoint, rect) ? fPauseOnIcon : fPauseOffIcon;
|
image = NSPointInRect(fClickPoint, rect) ? fPauseOnIcon : fPauseOffIcon;
|
||||||
else if ([torrent isPaused])
|
else if ([torrent isPaused])
|
||||||
{
|
{
|
||||||
|
@ -261,7 +261,7 @@
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
image = nil;
|
image = nil;
|
||||||
|
|
||||||
if (image)
|
if (image)
|
||||||
[image compositeToPoint: NSMakePoint(rect.origin.x, NSMaxY(rect)) operation: NSCompositeSourceOver];
|
[image compositeToPoint: NSMakePoint(rect.origin.x, NSMaxY(rect)) operation: NSCompositeSourceOver];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue