mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-10 13:44:27 +08:00
fixed slightly incorrect raw calculation
This commit is contained in:
parent
25f202c743
commit
eb5a96bf3f
1 changed files with 1 additions and 1 deletions
|
@ -2871,7 +2871,7 @@ function liveWpmAndRaw() {
|
|||
let testSeconds = (testNow - testStart) / 1000;
|
||||
let wpm = Math.round(((correctWordChars + spaces) * (60 / testSeconds)) / 5);
|
||||
let raw = Math.round(
|
||||
((chars + spaces + currentInput.length) * (60 / testSeconds)) / 5
|
||||
((chars + spaces) * (60 / testSeconds)) / 5
|
||||
);
|
||||
return {
|
||||
wpm: wpm,
|
||||
|
|
Loading…
Reference in a new issue