Fixed precision in progress percentage display (#512)

Currently, when loading a file for processing, the percentage display
underneath the progress bar jumps around with arbitrary float precision.
Fixing it to 2 decimal places would make it more readable.
This commit is contained in:
Sawood Alam
2026-04-29 23:22:50 +02:00
committed by GitHub
parent 45e36a4a00
commit 97a431b4b6
+1 -1
View File
@@ -474,7 +474,7 @@ class Loader extends LitElement {
${displayPercent ${displayPercent
? html` ? html`
<label class="progress-label" for="progress" <label class="progress-label" for="progress"
>${displayPercent}%</label >${displayPercent.toFixed(2)}%</label
> >
` `
: nothing} : nothing}