web/ProcessingQueueItem: floor the progress

This commit is contained in:
wukko 2025-05-14 22:24:42 +06:00
parent 08168f5477
commit fdc4f4826d
No known key found for this signature in database
GPG Key ID: 3E30B3F26C7B4AA2

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