This commit is contained in:
awesomeuser 2023-08-04 15:27:15 +00:00
parent 3d12db5096
commit 929bb75c22

View file

@ -124,7 +124,7 @@
var drawing = false; var drawing = false;
canvas.onmousedown = function() { drawing = true; } canvas.onmousedown = function() { drawing = true; }
canvas.onmouseup = function() { drawing = false; } document.onmouseup = function() { drawing = false; }
canvas.onmousemove = function() { canvas.onmousemove = function() {
if (drawing) { if (drawing) {