mobomo/sketch.js

Lines not stored on touch enabled browsers

Opened this issue · 0 comments

When drawing with the mouse:

  • clicking
  • draw something
  • mouseup
  • mousedown
  • Result: first line is saved, second will be drawn.

When tochstart (tested on iOS & Win8) ->

  • clicking
  • draw something
  • mouseup
  • mousedown
  • Result: First line vanish.

Getting the error:
Uncaught TypeError: Cannot read property 'pageX' of undefined sketch.js:100