Commit b30c3e0d authored by Tobi's avatar Tobi

patch of skatch.js for touch

parent f91617ec
......@@ -127,7 +127,10 @@ var __slice = Array.prototype.slice;
onEvent: function(e) {
switch (e.type) {
case 'mousedown':
this.startPainting();
break;
case 'touchstart':
this.stopPainting();
this.startPainting();
break;
case 'mouseup':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment