in debugmode, canvas should be manipulable through touch

This commit is contained in:
Adriaan Wormgoor 2013-10-12 15:34:57 +02:00
parent 8311fdd9c1
commit 12337f6ceb
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ function initDoodleDrawing() {
canvas.addEventListener('touchstart',onCanvasTouchDown,false);
canvas.addEventListener('touchmove',onCanvasTouchMove,false);
canvas.addEventListener('touchend',onCanvasTouchEnd,false);
document.body.addEventListener('touchmove',prevent,false);
if (!debugMode) document.body.addEventListener('touchmove',prevent,false);
}
//*/