Fix not able to control Remote Play dialog using controller (#509)

This commit is contained in:
redphx
2024-09-20 07:05:39 +07:00
parent dabab9acb1
commit 037927b9be
3 changed files with 7 additions and 5 deletions

View File

@@ -80,7 +80,7 @@ export abstract class NavigationDialog {
}
handleGamepad(button: GamepadKey): boolean {
return true;
return false;
}
}

View File

@@ -125,6 +125,7 @@ export class RemotePlayNavigationDialog extends NavigationDialog {
createButton({
style: ButtonStyle.GHOST | ButtonStyle.FOCUSABLE,
label: t('close'),
onClick: e => this.hide(),
}),
),
);