diff --git a/dist/better-xcloud.user.js b/dist/better-xcloud.user.js index fabfcc2..18b5f28 100644 --- a/dist/better-xcloud.user.js +++ b/dist/better-xcloud.user.js @@ -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; diff --git a/src/modules/stream/stream-settings.ts b/src/modules/stream/stream-settings.ts index cff4aac..0837a51 100644 --- a/src/modules/stream/stream-settings.ts +++ b/src/modules/stream/stream-settings.ts @@ -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) {