mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
add back math.floor
This commit is contained in:
parent
91952402bd
commit
ba1c92cf8b
@ -96,7 +96,7 @@ namespace Bloxstrap
|
||||
if (Dialog is null)
|
||||
return;
|
||||
|
||||
int progressValue = (int)(_progressIncrement * _totalDownloadedBytes);
|
||||
int progressValue = (int)Math.Floor(_progressIncrement * _totalDownloadedBytes);
|
||||
|
||||
// bugcheck: if we're restoring a file from a package, it'll incorrectly increment the progress beyond 100
|
||||
// too lazy to fix properly so lol
|
||||
|
Loading…
Reference in New Issue
Block a user