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() {
|
function drawCog() {
|
||||||
|
g.reset();
|
||||||
g.drawCircle(x, y, r1);
|
g.drawCircle(x, y, r1);
|
||||||
let poly = [];
|
let poly = [];
|
||||||
for(let t = 1; t<=teeth; t++) {
|
for(let t = 1; t<=teeth; t++) {
|
||||||
|
|
Loading…
Reference in New Issue