fix linting issues

This commit is contained in:
vcoppe committed 2026-10-31 13:06:44 +01:00
1 parent fbfdc1933c
commit 957f0c35ec
10 files changed
+30 -31

No files matched your search

+2 -4
View File
@@ -165,16 +165,14 @@ export const settings = {
),
/** Takes the saved values (see `Engine.openStorage`). */
connect(stored: StoredSettings) {
for (const key in settings) {
const setting = (settings as any)[key];
for (const setting of Object.values(settings)) {
if (setting instanceof Setting || setting instanceof SettingInitOnFirstRead) {
setting.connect(stored);
}
}
},
initialize() {
for (const key in settings) {
const setting = (settings as any)[key];
for (const setting of Object.values(settings)) {
if (setting instanceof SettingInitOnFirstRead) {
setting.initialize();
}