mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 17:04:49 +08:00
not adding decimal seconds to the graph in time mode
This commit is contained in:
parent
50f4779be7
commit
fc57e472e7
1 changed files with 4 additions and 1 deletions
|
@ -977,7 +977,10 @@ export function finish(difficultyFailed = false) {
|
|||
Keymap.hide();
|
||||
Funbox.activate("none", null);
|
||||
|
||||
if (Misc.roundTo2(TestStats.calculateTestSeconds()) % 1 != 0) {
|
||||
if (
|
||||
Misc.roundTo2(TestStats.calculateTestSeconds()) % 1 != 0 &&
|
||||
Config.mode !== "time"
|
||||
) {
|
||||
TestStats.setLastSecondNotRound();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue