title: javascript - Adding support for drawing dots in sketch.js
body: <p>I have been pulling my hair out for hours trying to find a solution to this.  I have been trying to modify my copy of sketch.js grabbed from <a href="http://intridea.github.io/sketch.js/" rel="nofollow">here</a> to allow the drawing of dots if the user just taps the button on the mouse and doesn't actually move the mouse while holding it down.  Currently when you try this in sketch.js it just does nothing until you move the mouse.  How could I do this?</p>
  
  <p>Thanks,
  Jordan</p>
  
  <p><strong>EDIT:</strong> I have largely narrowed down this issue and I now assume that somebody in the community 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: <code>this.el.width = this.canvas.width();</code>.  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. </p>