Merge pull request #385 from fbedussi/release/largeclock

fix: 3/4 moon orientation
pull/408/head
Gordon Williams 2020-05-11 08:18:44 +01:00 committed by GitHub
commit 95fb22ac8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -1572,7 +1572,7 @@
"id": "largeclock",
"name": "Large Clock",
"icon": "largeclock.png",
"version": "0.01",
"version": "0.02",
"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.02: 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,