Minor fix

This commit is contained in:
redphx
2024-07-17 08:04:19 +07:00
parent 30421fcdba
commit 816249e9a5
2 changed files with 3 additions and 3 deletions

View File

@@ -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;