-
Notifications
You must be signed in to change notification settings - Fork 133
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
How to limit the behavior of the transformer and prevent it from going beyond the canvas #254
Comments
Did you already find the solution? I see the demo has some working code. |
i find some code to it, but i find konva give me a error although i setting x=0
The problem I'm facing now is that even if I set the coordinates to 0, but e.target.x() < 0, konva gives me wrong coordinates, probably because of insufficient precision. |
sometimes konva give me a error x: -5.551115123125783e-17 |
How to limit the behavior of the transformer and prevent it from going beyond the canvas
The text was updated successfully, but these errors were encountered: