0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-22 01:07:56 +01:00

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

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);
}
//*/