Skip to content
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

stickyPointerLock typos fix #8

Merged
merged 2 commits into from
Oct 12, 2015
Merged

Conversation

fenomas
Copy link
Contributor

@fenomas fenomas commented Oct 12, 2015

Hi,

This fixes several presumed typos - the stickyPointerLock property getting spelled other ways, and getting initialized to !options.sticky rather than !!options.sticky.

Cheers!

mikolalysenko added a commit that referenced this pull request Oct 12, 2015
`stickyPointerLock` typos fix
@mikolalysenko mikolalysenko merged commit fc28bb2 into mikolalysenko:master Oct 12, 2015
@mikolalysenko
Copy link
Owner

Thanks!

deathcap added a commit to voxel/voxel-engine-stackgl that referenced this pull request Dec 31, 2015
If pointerLock is enabled, then also enable stickyPointerLock, in order
to continuously re-acquire pointer lock. This is needed to re-acquire after
pointer lock is released, but if undesirable behavior this default can be
overridden with the stickyPointerLock option to voxel-engine-stackgl.

Setting this option fixes a regression - previously (circa 2015/4) it was
not needed, but now it is required for correct behavior or you cannot "re-enter"
the game after exiting (relinquishing pointer lock with Esc). See:

voxel/voxelmetaverse#65 Pointer lock cannot be re-acquired after releasing
mikolalysenko/game-shell#8 `stickyPointerLock` typos fix
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