-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Gestures event issue - No offsets management #1646
Comments
I don't understand what you mean by "offsets". Can you explain a bit more? |
Yes, try to draw on the yellow my-canvas components at http://ystreibel.github.io/my-canvas/components/my-canvas/demo/ |
Ah I see. What I would recommend you do is use |
I don't understand why the x,y coordinates are not computed by the topleft corner of the component. |
sourceEvent was missing on the track events, I added them here: 5fb2ef3 Making x/y the topleft of a node requires using |
Cool for sourceEvent on trackEvent, thanks ! |
Closing, with @azakus's |
Hi,
When we try to use the x, y coordinates given by gestures event, we have noticed that the values do not take offsets in account.
You can find a sample code at https://github.com/ystreibel/my-canvas and the working demo http://ystreibel.github.io/my-canvas/components/my-canvas/demo/
This issue seems quite important, Could you please fix it up as soon as possible ?
Thanks.
The text was updated successfully, but these errors were encountered: