mirror of
https://github.com/transmission/transmission
synced 2024-12-27 18:18:10 +00:00
don't show the availability bar if checking
This commit is contained in:
parent
fac74ffd7b
commit
b1b28349ad
1 changed files with 2 additions and 1 deletions
|
@ -346,7 +346,8 @@
|
|||
|
||||
if (rightWidth > 0)
|
||||
{
|
||||
if ([torrent isActive] && ![torrent allDownloaded] && [fDefaults boolForKey: @"DisplayProgressBarAvailable"])
|
||||
if ([torrent isActive] && ![torrent allDownloaded] && ![torrent isChecking]
|
||||
&& [fDefaults boolForKey: @"DisplayProgressBarAvailable"])
|
||||
{
|
||||
int notAvailableWidth = MIN(ceil(barRect.size.width * [torrent notAvailableDesired]), rightWidth);
|
||||
rightWidth -= notAvailableWidth;
|
||||
|
|
Loading…
Reference in a new issue