diff options
author | Mango0x45 <thomasvoss@live.com> | 2021-02-03 19:11:02 +0100 |
---|---|---|
committer | Mango0x45 <thomasvoss@live.com> | 2021-02-03 19:11:02 +0100 |
commit | 9faffdc06cf9e14f92f29b56e7da07c214151b64 (patch) | |
tree | b172a0c398c96ec8d54cb6f03ee5c54cd10c9f0b | |
parent | 58d47a3fd5b763d3b607eefe1dac3c24cfc5eff1 (diff) |
Fix more bugs
-rw-r--r-- | main.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ function compute() return; const frames = (eframe - sframe) * fps; - const s = Math.floor(frames / fps); + const s = Math.trunc(frames / fps * 1000) / 1000; /* Show the time and mod message in the DOM */ const ftime = time_format(s); |