Skip to content

Add unadjustedMovement to domprops #1538

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

jespertheend
Copy link
Contributor

unadjustedMovement is an option of the element.requestPointerLock() api.

canvas.requestPointerLock({
    unadjustedMovement: true,
});

It is not widely supported though and on MDN it's still flagged as non-standard. But I'm not sure what the requirements are for something to be added to domprops.

@fabiosantoscode
Copy link
Collaborator

Cool, thank you!

@fabiosantoscode fabiosantoscode merged commit 769d27a into terser:master Jun 25, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants