diff --git a/app/templates/index.html b/app/templates/index.html index 477d524..2bf5780 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -74,6 +74,11 @@ return `${m}:${s.toString().padStart(2, '0')}.${ms}`; }; + const formatTimeSimple = (secs) => { + if (isNaN(secs) || secs < 0) return "0.00s"; + return `${secs.toFixed(2)}s`; + }; + const formatBeat = (secs, bpmVal) => { if (isNaN(secs) || secs < 0) return "1.1.1"; const beatDuration = 60 / bpmVal; @@ -5956,7 +5961,7 @@