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

failed to set transform and cannot reset #2437

Open
fluentwind opened this issue Oct 9, 2024 · 0 comments
Open

failed to set transform and cannot reset #2437

fluentwind opened this issue Oct 9, 2024 · 0 comments

Comments

@fluentwind
Copy link

after i set ctx.transform(0, 0, 0, 0.3, 0, 800), i cannot set transform or resetTransform.
the ctx.getTransform().toString() will always be matrix(1,0,0,1,0,0).

version 2.11.0

i guess it occurs when transform matrix.a === 0

the same code i run in browser canvas is correct

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

1 participant