mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
Minor fix
This commit is contained in:
parent
30421fcdba
commit
816249e9a5
2
dist/better-xcloud.user.js
vendored
2
dist/better-xcloud.user.js
vendored
@ -3717,7 +3717,7 @@ class StreamSettings {
|
||||
this.hide();
|
||||
else if (pressedButton === GamepadKey.LB || pressedButton === GamepadKey.RB) {
|
||||
const $currentTab = this.$tabs.querySelector(".bx-active");
|
||||
$currentTab && this.#handleTabsNavigation($currentTab, pressedButton === GamepadKey.LB ? FocusDirection.UP : FocusDirection.DOWN);
|
||||
$currentTab && $currentTab.focus();
|
||||
}
|
||||
if (pressedButton === GamepadKey.UP)
|
||||
direction = FocusDirection.UP;
|
||||
|
@ -363,9 +363,9 @@ export class StreamSettings {
|
||||
} else if (pressedButton === GamepadKey.B) {
|
||||
this.hide();
|
||||
} else if (pressedButton === GamepadKey.LB || pressedButton === GamepadKey.RB) {
|
||||
// Go to next/previous tab
|
||||
// Focus setting tabs
|
||||
const $currentTab = this.$tabs!.querySelector('.bx-active') as HTMLElement;
|
||||
$currentTab && this.#handleTabsNavigation($currentTab, pressedButton === GamepadKey.LB ? FocusDirection.UP : FocusDirection.DOWN);
|
||||
$currentTab && $currentTab.focus();
|
||||
}
|
||||
|
||||
if (pressedButton === GamepadKey.UP) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user