Refactor buttons in guide-menu

This commit is contained in:
redphx
2024-07-02 18:06:33 +07:00
parent d31a06be89
commit dee8c9dbd0
2 changed files with 76 additions and 53 deletions

View File

@@ -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() {