fix: 3/4 moon orientation
parent
c2f9e7bf6f
commit
0040ae9b8b
|
|
@ -1555,7 +1555,7 @@
|
||||||
"id": "largeclock",
|
"id": "largeclock",
|
||||||
"name": "Large Clock",
|
"name": "Large Clock",
|
||||||
"icon": "largeclock.png",
|
"icon": "largeclock.png",
|
||||||
"version": "0.01",
|
"version": "0.01.1",
|
||||||
"description": "A readable and informational digital watch, with date, seconds and moon phase",
|
"description": "A readable and informational digital watch, with date, seconds and moon phase",
|
||||||
"readme": "README.md",
|
"readme": "README.md",
|
||||||
"tags": "clock",
|
"tags": "clock",
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
0.01: Init
|
0.01: Init
|
||||||
|
0.01.1: fix 3/4 moon orientation
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ function drawMoon(d) {
|
||||||
},
|
},
|
||||||
// 3/4 ascending
|
// 3/4 ascending
|
||||||
4: () => {
|
4: () => {
|
||||||
moon[7]();
|
moon[3]();
|
||||||
g.setColor(MOON).fillEllipse(
|
g.setColor(MOON).fillEllipse(
|
||||||
moonX - moonR / 2,
|
moonX - moonR / 2,
|
||||||
moonY - moonR,
|
moonY - moonR,
|
||||||
|
|
@ -70,7 +70,7 @@ function drawMoon(d) {
|
||||||
},
|
},
|
||||||
// 3/4 descending
|
// 3/4 descending
|
||||||
6: () => {
|
6: () => {
|
||||||
moon[3]();
|
moon[7]();
|
||||||
g.setColor(MOON).fillEllipse(
|
g.setColor(MOON).fillEllipse(
|
||||||
moonX - moonR / 2,
|
moonX - moonR / 2,
|
||||||
moonY - moonR,
|
moonY - moonR,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue