mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-26 16:57:07 +08:00
more comments
This commit is contained in:
parent
0408786cfc
commit
8dbce25e2d
1 changed files with 15 additions and 17 deletions
|
|
@ -15,6 +15,7 @@ let activeWordJumped = false;
|
|||
let sameWordset = false;
|
||||
let textHasTab = false;
|
||||
let caretAnimating = true;
|
||||
let randomQuote = null;
|
||||
|
||||
//funbox
|
||||
let activeFunBox = "none";
|
||||
|
|
@ -49,6 +50,20 @@ let currentError = {
|
|||
};
|
||||
let lastSecondNotRound = false;
|
||||
let missedWords = [];
|
||||
let accuracyStats = {
|
||||
correct: 0,
|
||||
incorrect: 0,
|
||||
};
|
||||
let keypressStats = {
|
||||
spacing: {
|
||||
current: -1,
|
||||
array: [],
|
||||
},
|
||||
duration: {
|
||||
current: -1,
|
||||
array: [],
|
||||
},
|
||||
};
|
||||
|
||||
//ui
|
||||
let pageTransition = false;
|
||||
|
|
@ -74,28 +89,11 @@ let themeColors = {
|
|||
colorfulErrorExtra: "#7e2a33",
|
||||
};
|
||||
|
||||
let accuracyStats = {
|
||||
correct: 0,
|
||||
incorrect: 0,
|
||||
};
|
||||
|
||||
let keypressStats = {
|
||||
spacing: {
|
||||
current: -1,
|
||||
array: [],
|
||||
},
|
||||
duration: {
|
||||
current: -1,
|
||||
array: [],
|
||||
},
|
||||
};
|
||||
|
||||
let isPreviewingTheme = false;
|
||||
|
||||
// let CustomText = "The quick brown fox jumps over the lazy dog".split(" ");
|
||||
// let CustomText.isWordRandom = false;
|
||||
// let CustomText.word = 1;
|
||||
let randomQuote = null;
|
||||
|
||||
function refreshThemeColorObject() {
|
||||
let st = getComputedStyle(document.body);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue