Add precision setting to Progress

Fix progress sendEvent not works well
This commit is contained in:
2023-07-23 08:53:50 +08:00
parent 2494a5ac1f
commit 76160ea9ac
2 changed files with 13 additions and 3 deletions

View File

@@ -90,9 +90,9 @@ class DownloadManager {
this.#task.id,
this.#progress,
);
this.#progress_changed = false;
this.#last_send_progress = now;
}
this.#progress_changed = false;
this.#last_send_progress = now;
}
}
#sendEvent() {