mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-29 10:17:30 +08:00
Merge pull request #234 from OctahedronV2/layoutfluid
Layoutfluid error fix
This commit is contained in:
commit
dc5161fce1
1 changed files with 5 additions and 5 deletions
|
|
@ -170,9 +170,9 @@ function activateFunbox(funbox, mode) {
|
|||
changeKeymapMode("next");
|
||||
settingsGroups.keymapMode.updateButton();
|
||||
changeLayout("qwerty");
|
||||
setActiveLayoutButton();
|
||||
settingsGroups.layout.updateButton();
|
||||
changeKeymapLayout("qwerty");
|
||||
setActiveKeymapLayoutButton();
|
||||
settingsGroups.keymapLayout.updateButton();
|
||||
restartTest();
|
||||
}
|
||||
activeFunBox = funbox;
|
||||
|
|
@ -1932,7 +1932,7 @@ function startTest() {
|
|||
changeLayout(layouts[index]);
|
||||
changeKeymapLayout(layouts[index]);
|
||||
updateHighlightedKeymapKey();
|
||||
setActiveLayoutButton();
|
||||
settingsGroups.layout.updateButton();
|
||||
}
|
||||
|
||||
// console.timeEnd("livewpm");
|
||||
|
|
@ -2075,9 +2075,9 @@ function restartTest(withSameWordset = false) {
|
|||
|
||||
if (activeFunBox === "layoutfluid") {
|
||||
changeLayout("qwerty");
|
||||
setActiveLayoutButton();
|
||||
settingsGroups.layout.updateButton();
|
||||
changeKeymapLayout("qwerty");
|
||||
setActiveKeymapLayoutButton();
|
||||
settingsGroups.keymapLayout.updateButton();
|
||||
updateHighlightedKeymapKey();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue