mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-11-22 09:17:56 +01:00
in debugmode, canvas should be manipulable through touch
This commit is contained in:
parent
8311fdd9c1
commit
12337f6ceb
@ -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);
|
||||
}
|
||||
//*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user