mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 23:57:19 +02:00
Update better-xcloud.user.js
This commit is contained in:
parent
1e8e7f0030
commit
c669b80914
4
dist/better-xcloud.user.js
vendored
4
dist/better-xcloud.user.js
vendored
@ -4821,7 +4821,11 @@ class SettingsNavigationDialog extends NavigationDialog {
|
|||||||
let base = typeof scriptSettings._base === "string" ? [scriptSettings._base] : scriptSettings._base;
|
let base = typeof scriptSettings._base === "string" ? [scriptSettings._base] : scriptSettings._base;
|
||||||
for (let profile of base)
|
for (let profile of base)
|
||||||
Object.assign(recommended, this.suggestedSettings[profile]);
|
Object.assign(recommended, this.suggestedSettings[profile]);
|
||||||
|
delete scriptSettings._base;
|
||||||
}
|
}
|
||||||
|
let key;
|
||||||
|
for (key in scriptSettings)
|
||||||
|
recommended[key] = scriptSettings[key];
|
||||||
return BX_FLAGS.DeviceInfo.deviceType = json.device_type, this.suggestedSettings.recommended = recommended, json.device_name;
|
return BX_FLAGS.DeviceInfo.deviceType = json.device_type, this.suggestedSettings.recommended = recommended, json.device_name;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user