The latest commit caused this issue: a single click on a point will result in that point following the mouse (as if dragging). The problem seems to be caused by the "Reset" line in the drop function.
dragPoint = dragX = dragY = undefined; is only executed if "newPos" is truthy, which it is not if you click a point (with default dragSensitivity).
The latest commit caused this issue: a single click on a point will result in that point following the mouse (as if dragging). The problem seems to be caused by the "Reset" line in the drop function.
dragPoint = dragX = dragY = undefined;
is only executed if "newPos" is truthy, which it is not if you click a point (with default dragSensitivity).