Skip to content

Add unadjustedMovement to domprops#1538

Merged
fabiosantoscode merged 1 commit intoterser:masterfrom
jespertheend:add-unadjustedMovement-to-domprops
Jun 25, 2024
Merged

Add unadjustedMovement to domprops#1538
fabiosantoscode merged 1 commit intoterser:masterfrom
jespertheend:add-unadjustedMovement-to-domprops

Conversation

@jespertheend
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

Cool, thank you!

@fabiosantoscode fabiosantoscode merged commit 769d27a into terser:master Jun 25, 2024
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