You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm starting a new project with paper.js after not having looked at the library since june 2015. i'm noticing that the onMouseDrag events in the tutorial/documentation now affect the next drag after the user has completed the onMouseUp.
as an example: in the drag example that produces a line of circles, when you lift the mouse and start another drag, it creates a giant circle, or chain of circles connecting the two drags. I think this has something to do with event.delta using the last point from the last time the event fired. but this didn't use to be a problem with the library - you used to have distinct lines produced when the mouse was lifted and a new drag began.
does anyone have a solution to this or know why this is happening / how to avoid it?
I've attached a screenshot showing the effect. This is happening on the tutorial page as well, but I tested it myself to be sure.
The large circle in the middle is produced when the mouse is clicked and dragged a second time to produce the bottom line running right to left. The lines become connected by the large circle for some reason, which is so large I think because it's using the event.delta from the end of the last line to the new one, instead of starting a new chain altogether.
The text was updated successfully, but these errors were encountered:
As reported by Noah Levine on the mailing list:
The text was updated successfully, but these errors were encountered: