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

fix: correct mouse coordinates in stretch mode #5

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

wlsnmrk
Copy link
Contributor

@wlsnmrk wlsnmrk commented Jul 1, 2024

Fixes #4. Updated mouse driver extensions to transform coordinates for compatibility with fullscreen stretch mode.

Added a method to transform mouse coordinates for games using
fullscreen stretch mode, updated mouse driver extensions to transform
coordinates when constructing InputEvents. Fixes mouse clicks not
being correctly delivered in fullscreen stretch mode.
@jolexxa jolexxa merged commit 851532e into chickensoft-games:main Jul 1, 2024
1 check passed
@wlsnmrk wlsnmrk deleted the fix-mouse-stretch branch July 1, 2024 16:17
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.

Fullscreen + Canvas Items stretch mode breaks ButtonDriver ClickCenter method.
2 participants