Renamed layoutBeforeLayoutfluid to savedLayout

This commit is contained in:
David Martin 2020-10-26 05:50:53 -05:00
parent 76b9b7319d
commit 4b2b4d01fb
2 changed files with 4 additions and 4 deletions

View file

@ -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();

View file

@ -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);