mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 08:07:18 +02:00
Minor update
This commit is contained in:
parent
10d0dedc0a
commit
962f4dec6d
@ -48,11 +48,17 @@
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
display: block;
|
display: block;
|
||||||
color: #5dc21e;
|
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
text-transform: none;
|
||||||
|
|
||||||
|
span {
|
||||||
|
color: #5dc21e !important;
|
||||||
|
}
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
color: #83f73a;
|
span {
|
||||||
|
color: #83f73a !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -132,11 +132,12 @@ export function setupSettingsUi() {
|
|||||||
|
|
||||||
const $wrapper = CE('div', {'class': 'bx-settings-wrapper'},
|
const $wrapper = CE('div', {'class': 'bx-settings-wrapper'},
|
||||||
CE('div', {'class': 'bx-settings-title-wrapper'},
|
CE('div', {'class': 'bx-settings-title-wrapper'},
|
||||||
CE('a', {
|
createButton({
|
||||||
'class': 'bx-settings-title',
|
classes: ['bx-settings-title'],
|
||||||
'href': 'https://github.com/redphx/better-xcloud/releases',
|
style: ButtonStyle.FOCUSABLE | ButtonStyle.GHOST,
|
||||||
'target': '_blank',
|
label: 'Better xCloud ' + SCRIPT_VERSION,
|
||||||
}, 'Better xCloud ' + SCRIPT_VERSION),
|
url: 'https://github.com/redphx/better-xcloud/releases',
|
||||||
|
}),
|
||||||
createButton({
|
createButton({
|
||||||
icon: BxIcon.QUESTION,
|
icon: BxIcon.QUESTION,
|
||||||
style: ButtonStyle.FOCUSABLE,
|
style: ButtonStyle.FOCUSABLE,
|
||||||
|
1
src/types/index.d.ts
vendored
1
src/types/index.d.ts
vendored
@ -36,6 +36,7 @@ type BxStates = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
userAgent: {
|
userAgent: {
|
||||||
|
isTv: boolean;
|
||||||
capabilities: {
|
capabilities: {
|
||||||
touch: boolean;
|
touch: boolean;
|
||||||
};
|
};
|
||||||
|
@ -25,6 +25,7 @@ export const STATES: BxStates = {
|
|||||||
},
|
},
|
||||||
|
|
||||||
userAgent: {
|
userAgent: {
|
||||||
|
isTv: isTv,
|
||||||
capabilities: {
|
capabilities: {
|
||||||
touch: userAgentHasTouchSupport,
|
touch: userAgentHasTouchSupport,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user