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
Problem with draggable #169
Comments
Set layer: true in addition to draggable: true/false and you should be good to go. Draggable drawings are implicitly layers but non-draggable drawings must be made layers via layer: true. I recommend always setting layer: true for drawings in jCanvas. Caleb |
Hi! Thank you but even setting layer: true doesn't work. |
The images will be repeated upon clicking the button because because calling As for the position change, images in jCanvas are drawn asynchronously, and so the point at which your image is drawn depends on when the image loads (and that in itself depends on many other factors). Fortunately, calling |
Your advices guided me to this: http://jsfiddle.net/vpascoal/j9kja28L/ Thank you |
Hi!
In this example why jcanvas adds three images?
If I set draggable to false it doesn't add.
And something weird happens too when I mouseover canvas. (one of the images changes its position in the stack)
Am I missing something?
What I want is to zoom in/out an image in canvas by having two buttons. But when I click in one of the buttons, the image gets repeated inside the canvas
Thank you
The text was updated successfully, but these errors were encountered: