mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 22:25:49 +03:00
Merge pull request #588 from rtsonneveld/master
Adjusted uploading progress bar so it doesn't jump back
This commit is contained in:
commit
959249d04a
@ -246,7 +246,7 @@ public async Task<PublishResult> SubmitAsync( IProgress<float> progress = null,
|
||||
case ItemUpdateStatus.UploadingContent:
|
||||
{
|
||||
var uploaded = total > 0 ? ((float)processed / (float)total) : 0.0f;
|
||||
progress?.Report( 0.2f + uploaded * 0.7f );
|
||||
progress?.Report( 0.2f + uploaded * 0.6f );
|
||||
break;
|
||||
}
|
||||
case ItemUpdateStatus.UploadingPreviewFile:
|
||||
|
Loading…
Reference in New Issue
Block a user