Show "Off" when Sharpness is 0

This commit is contained in:
redphx 2024-06-22 10:36:02 +07:00
parent d6a4d1741b
commit cf546123db

View File

@ -598,6 +598,10 @@ export class Preferences {
max: 10,
params: {
hideSlider: true,
customTextValue: (value: any) => {
value = parseInt(value);
return value === 0 ? t('off') : value.toString();
},
},
},
[PrefKey.VIDEO_RATIO]: {