mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-06-06 15:47:18 +02:00
Minor fix in Game Bar
This commit is contained in:
parent
07ebf3926b
commit
21efa5ffdc
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user