fix: 3/4 moon orientation

master
Francesco Bedussi 2020-05-05 23:34:59 +02:00
parent c2f9e7bf6f
commit 0040ae9b8b
3 changed files with 4 additions and 3 deletions

View File

@ -1555,7 +1555,7 @@
"id": "largeclock",
"name": "Large Clock",
"icon": "largeclock.png",
"version": "0.01",
"version": "0.01.1",
"description": "A readable and informational digital watch, with date, seconds and moon phase",
"readme": "README.md",
"tags": "clock",

View File

@ -1 +1,2 @@
0.01: Init
0.01.1: fix 3/4 moon orientation

View File

@ -55,7 +55,7 @@ function drawMoon(d) {
},
// 3/4 ascending
4: () => {
moon[7]();
moon[3]();
g.setColor(MOON).fillEllipse(
moonX - moonR / 2,
moonY - moonR,
@ -70,7 +70,7 @@ function drawMoon(d) {
},
// 3/4 descending
6: () => {
moon[3]();
moon[7]();
g.setColor(MOON).fillEllipse(
moonX - moonR / 2,
moonY - moonR,