mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 13:27:49 +08:00
Renamed layoutBeforeLayoutfluid to savedLayout
This commit is contained in:
parent
76b9b7319d
commit
4b2b4d01fb
2 changed files with 4 additions and 4 deletions
|
@ -344,8 +344,8 @@ function activateFunbox(funbox, mode) {
|
|||
}
|
||||
|
||||
if (funbox !== "layoutfluid" || mode !== "script") {
|
||||
if (config.layout !== config.layoutBeforeLayoutfluid) {
|
||||
changeLayout(config.layoutBeforeLayoutfluid);
|
||||
if (config.layout !== config.savedLayout) {
|
||||
changeLayout(config.savedLayout);
|
||||
}
|
||||
}
|
||||
updateTestModesNotice();
|
||||
|
|
|
@ -37,7 +37,7 @@ let defaultConfig = {
|
|||
flipTestColors: false,
|
||||
capsLockBackspace: false,
|
||||
layout: "default",
|
||||
layoutBeforeLayoutfluid: "default",
|
||||
savedLayout: "default",
|
||||
confidenceMode: "off",
|
||||
indicateTypos: false,
|
||||
timerStyle: "text",
|
||||
|
@ -167,7 +167,7 @@ function applyConfig(configObj) {
|
|||
changeWordCount(configObj.words, true);
|
||||
changeLanguage(configObj.language, true);
|
||||
setCapsLockBackspace(configObj.capsLockBackspace, true);
|
||||
changeLayout(configObj.layoutBeforeLayoutfluid, true);
|
||||
changeLayout(configObj.savedLayout, true);
|
||||
changeFontSize(configObj.fontSize, true);
|
||||
setFreedomMode(configObj.freedomMode, true);
|
||||
setCaretStyle(configObj.caretStyle, true);
|
||||
|
|
Loading…
Reference in a new issue