Finally finished the migration ._.

This commit is contained in:
WBHarry 2026-02-11 16:06:47 +01:00
parent 26ae17c3cf
commit 90ca39ebda
3 changed files with 121 additions and 35 deletions

View file

@ -13,7 +13,7 @@ export default class DhProgress {
advance({ by = 1, label = this.label } = {}) {
if (this.value === this.max) return;
this.value += Math.abs(by);
this.value = (this.value ?? 0) + Math.abs(by);
this.#notification.update({ message: label, pct: this.value / this.max });
}