mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-05 12:56:42 +02:00
Set image quality
This commit is contained in:
@@ -192,6 +192,23 @@ export class GlobalSettingsStorage extends BaseSettingsStorage {
|
||||
label: t('hide-system-menu-icon'),
|
||||
default: false,
|
||||
},
|
||||
[PrefKey.UI_IMAGE_QUALITY]: {
|
||||
label: t('image-quality'),
|
||||
default: 90,
|
||||
min: 10,
|
||||
max: 90,
|
||||
params: {
|
||||
steps: 10,
|
||||
exactTicks: 20,
|
||||
customTextValue(value, min, max) {
|
||||
if (value === 90) {
|
||||
return t('default');
|
||||
}
|
||||
|
||||
return value + '%';
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
[PrefKey.STREAM_COMBINE_SOURCES]: {
|
||||
requiredVariants: 'full',
|
||||
|
Reference in New Issue
Block a user