document
This commit is contained in:
parent
3d12db5096
commit
929bb75c22
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@
|
|||
|
||||
var drawing = false;
|
||||
canvas.onmousedown = function() { drawing = true; }
|
||||
canvas.onmouseup = function() { drawing = false; }
|
||||
document.onmouseup = function() { drawing = false; }
|
||||
|
||||
canvas.onmousemove = function() {
|
||||
if (drawing) {
|
||||
|
|
Reference in a new issue