Merge pull request #5391 from su-ex/fix-inverted-settings-default

Fix inverted settings default value
This commit is contained in:
Travis Ralston
2020-12-07 14:51:28 -07:00
committed by GitHub

View File

@@ -42,7 +42,7 @@ for (const key of Object.keys(SETTINGS)) {
if (SETTINGS[key].invertedSettingName) {
// Invert now so that the rest of the system will invert it back
// to what was intended.
invertedDefaultSettings[key] = !SETTINGS[key].default;
invertedDefaultSettings[SETTINGS[key].invertedSettingName] = !SETTINGS[key].default;
}
}