mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-12-17 20:46:59 +01:00
Fix not releasing pointer lock after quitting the game
This commit is contained in:
@@ -200,7 +200,7 @@ export class NativeMkbHandler extends MkbHandler {
|
||||
BxEventBus.Script.off('dialog.shown', this.onDialogShown);
|
||||
|
||||
this.waitForMouseData(false);
|
||||
document.pointerLockElement && document.exitPointerLock();
|
||||
document.exitPointerLock();
|
||||
}
|
||||
|
||||
handleMouseMove(data: MkbMouseMove): void {
|
||||
|
||||
Reference in New Issue
Block a user