mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 13:27:49 +08:00
removing high numbers so that the heatmap is not influenced by them
This commit is contained in:
parent
e817b86b28
commit
700c0aff49
1 changed files with 3 additions and 0 deletions
|
@ -854,6 +854,9 @@ export function applyBurstHeatmap() {
|
|||
|
||||
let burstlist = [...TestStats.burstHistory];
|
||||
|
||||
burstlist = burstlist.filter((x) => x !== Infinity);
|
||||
burstlist = burstlist.filter((x) => x < 350);
|
||||
|
||||
if (
|
||||
TestLogic.input.getHistory(TestLogic.input.getHistory().length - 1)
|
||||
.length !== TestLogic.words.getCurrent().length
|
||||
|
|
Loading…
Reference in a new issue