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
If you click the mouse, drag the cursor outside of the canvas, and then release it, the dragging state persists until you click inside of the canvas again. In the MultiCanvas example, I can get all six to follow the mouse movements by clicking, dragging, and releasing each of them outside their canvases.
Thanks again for your work on this!
The text was updated successfully, but these errors were encountered:
The persistent drag state can be handled with an additional event handler on a sketch basis. See the updated MultiCanvas example.
Additional references on this issue:
stackoverflow.com/a/11533098
stackoverflow.com/a/11533211/4843719
jsfiddle.net/jWkCT
editor.p5js.org/jwdunn1/sketches/QlPK6m_mL
If you click the mouse, drag the cursor outside of the canvas, and then release it, the dragging state persists until you click inside of the canvas again. In the MultiCanvas example, I can get all six to follow the mouse movements by clicking, dragging, and releasing each of them outside their canvases.
Thanks again for your work on this!
The text was updated successfully, but these errors were encountered: