Minor fix in Game Bar

This commit is contained in:
redphx 2024-09-07 17:27:23 +07:00
parent 07ebf3926b
commit 21efa5ffdc

View File

@ -78,7 +78,7 @@ export class GameBar {
$container.addEventListener('transitionend', e => {
const classList = $container.classList;
if (classList.contains('bx-hide')) {
classList.remove('bx-offscreen', 'bx-hide');
classList.remove('bx-hide');
classList.add('bx-offscreen');
}
});
@ -135,6 +135,8 @@ export class GameBar {
}
hideBar() {
this.clearHideTimeout();
// Stop focusing Game Bar
clearFocus();