mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-01 13:17:20 +02:00
Support new screen ratios: 20:9, 3:2, 5:4
This commit is contained in:
parent
da6ab51ba0
commit
0551d909e5
7
dist/better-xcloud.pretty.user.js
vendored
7
dist/better-xcloud.pretty.user.js
vendored
@ -2442,10 +2442,13 @@ class StreamSettingsStorage extends BaseSettingsStorage {
|
||||
default: "16:9",
|
||||
options: {
|
||||
"16:9": `16:9 (${t("default")})`,
|
||||
"18:9": "18:9",
|
||||
"21:9": "21:9",
|
||||
"16:10": "16:10",
|
||||
"18:9": "18:9",
|
||||
"20:9": "20:9",
|
||||
"21:9": "21:9",
|
||||
"3:2": "3:2",
|
||||
"4:3": "4:3",
|
||||
"5:4": "5:4",
|
||||
fill: t("stretch")
|
||||
}
|
||||
},
|
||||
|
2
dist/better-xcloud.user.js
vendored
2
dist/better-xcloud.user.js
vendored
File diff suppressed because one or more lines are too long
@ -95,10 +95,13 @@ export const enum StreamStatPosition {
|
||||
|
||||
export const enum VideoRatio {
|
||||
'16:9' = '16:9',
|
||||
'18:9' = '18:9',
|
||||
'21:9' = '21:9',
|
||||
'16:10' = '16:10',
|
||||
'18:9' = '18:9',
|
||||
'20:9' = '20:9',
|
||||
'21:9' = '21:9',
|
||||
'3:2' = '3:2',
|
||||
'4:3' = '4:3',
|
||||
'5:4' = '5:4',
|
||||
FILL = 'fill',
|
||||
}
|
||||
|
||||
|
@ -228,10 +228,13 @@ export class StreamSettingsStorage extends BaseSettingsStorage<StreamPref> {
|
||||
default: VideoRatio['16:9'],
|
||||
options: {
|
||||
[VideoRatio['16:9']]: `16:9 (${t('default')})`,
|
||||
[VideoRatio['18:9']]: '18:9',
|
||||
[VideoRatio['21:9']]: '21:9',
|
||||
[VideoRatio['16:10']]: '16:10',
|
||||
[VideoRatio['18:9']]: '18:9',
|
||||
[VideoRatio['20:9']]: '20:9',
|
||||
[VideoRatio['21:9']]: '21:9',
|
||||
[VideoRatio['3:2']]: '3:2',
|
||||
[VideoRatio['4:3']]: '4:3',
|
||||
[VideoRatio['5:4']]: '5:4',
|
||||
|
||||
[VideoRatio.FILL]: t('stretch'),
|
||||
//'cover': 'Cover',
|
||||
|
Loading…
x
Reference in New Issue
Block a user