Migrate Remote Play popup to Navigation dialog

This commit is contained in:
redphx
2024-09-18 20:14:49 +07:00
parent df266d32fc
commit 784a31ce43
13 changed files with 454 additions and 418 deletions

View File

@@ -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));