mirror of https://github.com/espruino/BangleApps
cogclock: fix missing g.reset()
parent
9cf64f5d98
commit
452b329893
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue