mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 16:17:20 +02:00
Hide xCloud's Home button in the Guide menu
This commit is contained in:
parent
8f9976da28
commit
2db78d01a0
@ -303,5 +303,9 @@ export function setupStreamUiEvents() {
|
|||||||
|
|
||||||
$btnQuit.insertAdjacentElement('afterend', $btnReload);
|
$btnQuit.insertAdjacentElement('afterend', $btnReload);
|
||||||
$btnReload.insertAdjacentElement('afterend', $btnHome);
|
$btnReload.insertAdjacentElement('afterend', $btnHome);
|
||||||
|
|
||||||
|
// Hide xCloud's Home button
|
||||||
|
const $btnXcloudHome = document.querySelector('#gamepass-dialog-root div[class^=HomeButtonWithDivider]') as HTMLElement;
|
||||||
|
$btnXcloudHome && ($btnXcloudHome.style.display = 'none');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user