cogclock: fix missing g.reset()

pull/1895/head
Richard de Boer 2022-04-18 15:14:32 +02:00
parent 9cf64f5d98
commit 452b329893
No known key found for this signature in database
GPG Key ID: 8721727971871937
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ function addTooth(poly, n) {
}
function drawCog() {
g.reset();
g.drawCircle(x, y, r1);
let poly = [];
for(let t = 1; t<=teeth; t++) {