mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 07:37:19 +02:00
Fix Game Bar not showing sometimes
This commit is contained in:
parent
24f0cf18d9
commit
6f460302cf
@ -12,7 +12,6 @@ import { getPref, StreamTouchController } from "@/utils/settings-storages/global
|
||||
|
||||
export class GameBar {
|
||||
private static instance: GameBar;
|
||||
|
||||
public static getInstance(): GameBar {
|
||||
if (!GameBar.instance) {
|
||||
GameBar.instance = new GameBar();
|
||||
@ -125,7 +124,7 @@ export class GameBar {
|
||||
return;
|
||||
}
|
||||
|
||||
this.$container.classList.remove('bx-offscreen', 'bx-hide');
|
||||
this.$container.classList.remove('bx-offscreen', 'bx-hide' , 'bx-gone');
|
||||
this.$container.classList.add('bx-show');
|
||||
|
||||
this.beginHideTimeout();
|
||||
|
Loading…
x
Reference in New Issue
Block a user