mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 16:17:20 +02:00
Show "Off" when Sharpness is 0
This commit is contained in:
parent
d6a4d1741b
commit
cf546123db
@ -598,6 +598,10 @@ export class Preferences {
|
|||||||
max: 10,
|
max: 10,
|
||||||
params: {
|
params: {
|
||||||
hideSlider: true,
|
hideSlider: true,
|
||||||
|
customTextValue: (value: any) => {
|
||||||
|
value = parseInt(value);
|
||||||
|
return value === 0 ? t('off') : value.toString();
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
[PrefKey.VIDEO_RATIO]: {
|
[PrefKey.VIDEO_RATIO]: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user