web/ProcessingQueueItem: floor the progress

This commit is contained in:
wukko
2025-05-14 22:24:42 +06:00
parent 08168f5477
commit fdc4f4826d

View File

@@ -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) {