mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-11 18:04:27 +08:00
Merge branch 'master' of https://github.com/Miodec/monkey-type
This commit is contained in:
commit
a06be194b3
2 changed files with 14 additions and 3 deletions
|
|
@ -398,6 +398,9 @@ function handleChar(char, charIndex) {
|
|||
char +
|
||||
TestLogic.input.current.substring(charIndex + 1);
|
||||
|
||||
MonkeyPower.addPower(thisCharCorrect);
|
||||
TestStats.incrementAccuracy(thisCharCorrect);
|
||||
|
||||
if (!thisCharCorrect && Misc.trailingComposeChars.test(resultingWord)) {
|
||||
TestLogic.input.current = resultingWord;
|
||||
TestUI.updateWordElement();
|
||||
|
|
@ -405,9 +408,6 @@ function handleChar(char, charIndex) {
|
|||
return;
|
||||
}
|
||||
|
||||
MonkeyPower.addPower(thisCharCorrect);
|
||||
TestStats.incrementAccuracy(thisCharCorrect);
|
||||
|
||||
if (!thisCharCorrect) {
|
||||
TestStats.incrementKeypressErrors();
|
||||
TestStats.pushMissedWord(TestLogic.words.getCurrent());
|
||||
|
|
|
|||
|
|
@ -514,6 +514,17 @@ const layouts = {
|
|||
"ـ", "ظ'", "ط", "ذئ", "دء", "زأ", "رإ", "وؤ", "،>", ".<", "/؟",
|
||||
" "
|
||||
]
|
||||
},
|
||||
brasileiro_nativo: {
|
||||
keymapShowTopRow: false,
|
||||
iso: true,
|
||||
keys: [
|
||||
"=+", "1!", "2@", "3#", "4$", "5%", "6¨", "7&", "8*", "9(", "0)", "[{", "]}",
|
||||
"/?", ",<", ".>", "hH", "xX", "wW", "lL", "tT", "cC", "pP", "~^", "-_", "'\"",
|
||||
"iI", "eE", "aA", "oO", "uU", "mM", "dD", "sS", "rR", "nN", "´`",
|
||||
";:", "yY", "çÇ", "jJ", "bB", "kK", "qQ", "vV", "gG", "fF", "zZ", "\\|",
|
||||
" "
|
||||
]
|
||||
}
|
||||
}
|
||||
export default layouts;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue