The trouble is – when I mousedown, then mousemove(about 1-2px), the point, which I draw disappears. It is because I clear context each mousemove, but I dont know how to fix it.
The trouble is – when I mousedown, then mousemove(about 1-2px), the point, which I
Share
Not quite sure what the problem is, but I think the problem is that rounding is causing your new line to not be a full pixel and thus empty. Could this be the problem? If so the solution is to make the move just a little bigger if it is small.