diff options
author | Thomas Voss <57815710+Mango0x45@users.noreply.github.com> | 2021-02-03 17:37:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-03 17:37:19 +0100 |
commit | ab6c42d7fa5885078490375e654c1a54e063f96d (patch) | |
tree | 36541eab3e704f0ad318f0d3b2bfa242fa6e8e7d | |
parent | 44df3fa4735687f7cc50b5b293a50cf82cc24d0b (diff) |
Update main.js
-rw-r--r-- | main.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ function compute() /* Show the time and mod message in the DOM */ let finalTime = hours.toString() + 'h ' + minutes.toString() + 'm ' + seconds.toString() + 's ' + milliseconds.toString() + 'ms'; - let modMessage = `Mod Note: Retimed (Start: Frame ${Math.floor(startFrame * frameRate)}, End: Frame ${Math.floor(endFrame * frameRate)}, FPS: ${frameRate}, Total Time: ${finalTime})`; + let modMessage = `Mod Note: Retimed (Start: ${parseFloat(startFrame).toFixed(3)}, End: ${parseFloat(endFrame).toFixed(3)}, FPS: ${frameRate}, Total Time: ${finalTime})`; document.getElementById('time').value = finalTime; document.getElementById('modMessage').disabled = false; document.getElementById('modMessage').innerText = modMessage; |