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

When mouse is locked in window, confine its position to the game viewport #2675

Merged

Conversation

ivan-mogilko
Copy link
Contributor

Fix #2672

@AlanDrake
Copy link
Contributor

Works for windowed mode, but not for fullscreen

@AlanDrake
Copy link
Contributor

Looks good to me. All works as expected.

@ivan-mogilko ivan-mogilko merged commit 6cdc6e4 into adventuregamestudio:master Feb 6, 2025
21 checks passed
@ivan-mogilko ivan-mogilko deleted the 362--mousegrabtorect branch February 6, 2025 09:18
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.

Dead zone in mouse area when mouse locked
2 participants