Skip to content

Comments

Change CursorLockMode to Locked instead of Confined#18

Merged
marian42 merged 1 commit intomarian42:masterfrom
TurboWafflz:patch-1
Mar 28, 2021
Merged

Change CursorLockMode to Locked instead of Confined#18
marian42 merged 1 commit intomarian42:masterfrom
TurboWafflz:patch-1

Conversation

@TurboWafflz
Copy link
Contributor

With the CursorLockMode set to confined, at least on Linux, the cursor was able to move to the edges of the window at which point it would no longer be possible to rotate the camera further in that direction. Changing it to locked means that the cursor is locked in the center of the window, which fixes this issue.

With the CursorLockMode set to confined, at least on Linux, the cursor was able to move to the edges of the window at which point it would no longer be possible to rotate the camera further in that direction. Changing it to locked means that the cursor is locked in the center of the window, which fixes this issue.
@marian42 marian42 merged commit 8750c53 into marian42:master Mar 28, 2021
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