1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-12-02 20:22:52 +00:00

fixed 1 decimal for time

This commit is contained in:
2025-11-04 05:34:34 +01:00
parent f8b3f96331
commit a6ea9c3022

View File

@@ -261,7 +261,7 @@
this.#_time = make("div", "time"); this.#_time = make("div", "time");
if (this.#time) { if (this.#time) {
this.#_time.textContent = `${this.#time}s`; this.#_time.textContent = `${this.#time.toFixed(1)}s`;
} }
_body.appendChild(this.#_time); _body.appendChild(this.#_time);
@@ -868,7 +868,7 @@
this.#time = time; this.#time = time;
if (this.#time) { if (this.#time) {
this.#_time.textContent = `${this.#time}s`; this.#_time.textContent = `${this.#time.toFixed(1)}s`;
} }
} }