mobomo/sketch.js

Drawing dots not working

Opened this issue · 1 comments

When you just click and don't move the mouse, sketch.js doesn't draw a dot. Is there any way to enable this?

I have largely narrowed down this issue and I now assume that somebody will have an answer now. I have dealt with actually drawing the dots, and that's no issue whatsoever (I just draw an arc on mouseup). Now the issue is that sketch.js calls this line of code in it's "redraw" function: this.el.width = this.canvas.width();. For whatever reason, this line of code removes the dot I have drawn. I tried removing this line, but the drawing looks all weird afterwards.