mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-11 00:03:44 +08:00
Use grace in test timer when setting is on
This commit is contained in:
parent
56e8d3a065
commit
5326fdd3fe
1 changed files with 5 additions and 1 deletions
|
@ -38,7 +38,11 @@ export function start() {
|
|||
TestStats.pushToRawHistory(wpmAndRaw.raw);
|
||||
Monkey.updateFastOpacity(wpmAndRaw.wpm);
|
||||
|
||||
let acc = Misc.roundTo2(TestStats.calculateAccuracy());
|
||||
let acc = Misc.roundTo2(
|
||||
Config.minAccGrace === "on"
|
||||
? TestStats.calculateAccuracyWithGrace()
|
||||
: TestStats.calculateAccuracy()
|
||||
);
|
||||
|
||||
if (Funbox.active === "layoutfluid" && Config.mode === "time") {
|
||||
const layouts = Config.customLayoutfluid
|
||||
|
|
Loading…
Reference in a new issue