Problem with windowResized and line drawing

Hi everybody.

I can't find where is the problem with my sketch. Every time I resize the browser's window, the drawing made with line(pmouseX, pmouseY, mouseX, mouseY) disappears. Is this normal? How could I avoid it?

Here is the Pen from it:

thank you all in advance

best regards, Gil


Sign In or Register to comment.