mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-06 13:18:27 +02:00
Fix bug with Game Bar when showing it on the right side
This commit is contained in:
@@ -45,6 +45,11 @@ export class GameBar {
|
||||
new MicrophoneAction(),
|
||||
];
|
||||
|
||||
// Reverse the action list if Game Bar's position is on the right side
|
||||
if (position === 'bottom-right') {
|
||||
this.actions.reverse();
|
||||
}
|
||||
|
||||
// Render actions
|
||||
for (const action of this.actions) {
|
||||
$container.appendChild(action.render());
|
||||
|
Reference in New Issue
Block a user