draw on mousedown

This commit is contained in:
awesomeuser 2023-08-04 21:11:35 +00:00
parent 762688948c
commit 617a4c9bb5

View file

@ -184,6 +184,8 @@
canvas.onmousedown = function() { canvas.onmousedown = function() {
submit.disabled = false; submit.disabled = false;
isDrawing = true; isDrawing = true;
draw(window.event);
} }
document.onmouseup = function() { document.onmouseup = function() {