Reset Path
This commit is contained in:
parent
21a8d62624
commit
ee0705bcce
@ -409,6 +409,7 @@ function info(message) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function clear(ctx) {
|
function clear(ctx) {
|
||||||
|
ctx.beginPath();
|
||||||
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user