mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-05 12:56:42 +02:00
Hide xCloud's Home button in the Guide menu
This commit is contained in:
@@ -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');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user