Merge pull request #5391 from su-ex/fix-inverted-settings-default
Fix inverted settings default value
This commit is contained in:
@@ -42,7 +42,7 @@ for (const key of Object.keys(SETTINGS)) {
|
|||||||
if (SETTINGS[key].invertedSettingName) {
|
if (SETTINGS[key].invertedSettingName) {
|
||||||
// Invert now so that the rest of the system will invert it back
|
// Invert now so that the rest of the system will invert it back
|
||||||
// to what was intended.
|
// to what was intended.
|
||||||
invertedDefaultSettings[key] = !SETTINGS[key].default;
|
invertedDefaultSettings[SETTINGS[key].invertedSettingName] = !SETTINGS[key].default;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user