mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-09 06:37:43 +02:00
Refactor buttons in guide-menu
This commit is contained in:
@@ -255,6 +255,8 @@ export class StreamSettings {
|
||||
|
||||
$container.classList.remove('bx-gone');
|
||||
document.body.classList.add('bx-no-scroll');
|
||||
|
||||
BxEvent.dispatch(window, BxEvent.XCLOUD_DIALOG_SHOWN);
|
||||
}
|
||||
|
||||
hide() {
|
||||
@@ -262,6 +264,8 @@ export class StreamSettings {
|
||||
this.$container!.classList.add('bx-gone');
|
||||
|
||||
document.body.classList.remove('bx-no-scroll');
|
||||
|
||||
BxEvent.dispatch(window, BxEvent.XCLOUD_DIALOG_DISMISSED);
|
||||
}
|
||||
|
||||
#setupDialog() {
|
||||
|
Reference in New Issue
Block a user