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

canvas scale is calculated incorrectly on mobile chrome (while on other mobile browsers it is not) #168

Open
BlackRam-oss opened this issue Aug 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@BlackRam-oss
Copy link
Contributor

BlackRam-oss commented Aug 3, 2024

in the screenScale a value is calculated to make the canvas scale.

On chrome for mobile you get wrong values. I think the height and width in pixels of the device obtained without javascript does not correspond to the truth.
I do not know why, nor how to solve it.

@BlackRam-oss BlackRam-oss self-assigned this Aug 3, 2024
@BlackRam-oss BlackRam-oss changed the title Canvas resize not work in android mobile canvas scale is calculated incorrectly on mobile chrome (while on other mobile browsers it is not) Aug 5, 2024
@BlackRam-oss BlackRam-oss added the bug Something isn't working label Aug 5, 2024
@BlackRam-oss BlackRam-oss removed their assignment Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant