mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 08:07:18 +02:00
Swap position of "Low" & "High" values in "Visual quality" setting
This commit is contained in:
parent
b11a89037a
commit
0d80edb7cb
@ -7155,13 +7155,14 @@ class Preferences {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasLowCodec) {
|
if (hasHighCodec) {
|
||||||
if (!hasNormalCodec && !hasHighCodec) {
|
if (!hasLowCodec && !hasNormalCodec) {
|
||||||
options.default = `${t('visual-quality-low')} (${t('default')})`;
|
options.default = `${t('visual-quality-high')} (${t('default')})`;
|
||||||
} else {
|
} else {
|
||||||
options.low = t('visual-quality-low');
|
options.high = t('visual-quality-high');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasNormalCodec) {
|
if (hasNormalCodec) {
|
||||||
if (!hasLowCodec && !hasHighCodec) {
|
if (!hasLowCodec && !hasHighCodec) {
|
||||||
options.default = `${t('visual-quality-normal')} (${t('default')})`;
|
options.default = `${t('visual-quality-normal')} (${t('default')})`;
|
||||||
@ -7169,11 +7170,12 @@ class Preferences {
|
|||||||
options.normal = t('visual-quality-normal');
|
options.normal = t('visual-quality-normal');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (hasHighCodec) {
|
|
||||||
if (!hasLowCodec && !hasNormalCodec) {
|
if (hasLowCodec) {
|
||||||
options.default = `${t('visual-quality-high')} (${t('default')})`;
|
if (!hasNormalCodec && !hasHighCodec) {
|
||||||
|
options.default = `${t('visual-quality-low')} (${t('default')})`;
|
||||||
} else {
|
} else {
|
||||||
options.high = t('visual-quality-high');
|
options.low = t('visual-quality-low');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user