mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-07 16:17:20 +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 {
|
export class GameBar {
|
||||||
private static instance: GameBar;
|
private static instance: GameBar;
|
||||||
|
|
||||||
public static getInstance(): GameBar {
|
public static getInstance(): GameBar {
|
||||||
if (!GameBar.instance) {
|
if (!GameBar.instance) {
|
||||||
GameBar.instance = new GameBar();
|
GameBar.instance = new GameBar();
|
||||||
@ -125,7 +124,7 @@ export class GameBar {
|
|||||||
return;
|
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.$container.classList.add('bx-show');
|
||||||
|
|
||||||
this.beginHideTimeout();
|
this.beginHideTimeout();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user