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

Mouse coordinates are not acquired correctly in smartphone browsers #584

Open
shiromofufactory opened this issue Dec 3, 2024 · 1 comment

Comments

@shiromofufactory
Copy link

See the image below. The lower right location is detected as pyxel.mouse_x and pyxel.mouse_y compared to the actual tapped location.
For example, if the screen is 256x256, mouse_x and mouse_y may return values such as 360.

SS.2024-12-04.8.47.34.mov
@kitao
Copy link
Owner

kitao commented Dec 8, 2024

Thank you. I fixed this issue in 2.2.8.
Actually this bug had happened on both a PC and a smartphone.

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

No branches or pull requests

2 participants