mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-25 02:52:11 +02:00
web/ProcessingQueueItem: floor the progress
This commit is contained in:
parent
08168f5477
commit
fdc4f4826d
@ -69,7 +69,7 @@
|
||||
const formattedSize = formatFileSize(progress?.size);
|
||||
|
||||
if (progress && progress.percentage) {
|
||||
return `${running}: ${Math.ceil(progress.percentage)}%, ${formattedSize}`;
|
||||
return `${running}: ${Math.floor(progress.percentage)}%, ${formattedSize}`;
|
||||
}
|
||||
else if (runningWorker && progress) {
|
||||
if (progress.size > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user