mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-12-23 07:26:17 +01:00
Migrate Remote Play popup to Navigation dialog
This commit is contained in:
@@ -254,6 +254,7 @@ export function patchPointerLockApi() {
|
||||
});
|
||||
|
||||
// const nativeRequestPointerLock = HTMLElement.prototype.requestPointerLock;
|
||||
// @ts-ignore
|
||||
HTMLElement.prototype.requestPointerLock = function() {
|
||||
pointerLockElement = document.documentElement;
|
||||
window.dispatchEvent(new Event(BxEvent.POINTER_LOCK_REQUESTED));
|
||||
|
||||
Reference in New Issue
Block a user