draw on mousedown
This commit is contained in:
parent
762688948c
commit
617a4c9bb5
1 changed files with 2 additions and 0 deletions
|
@ -184,6 +184,8 @@
|
|||
canvas.onmousedown = function() {
|
||||
submit.disabled = false;
|
||||
isDrawing = true;
|
||||
|
||||
draw(window.event);
|
||||
}
|
||||
|
||||
document.onmouseup = function() {
|
||||
|
|
Reference in a new issue