limelight fixes

pull/1247/head
hughbarney 2022-01-06 23:29:38 +00:00
parent cc7cbd24e1
commit bce36e9afc
2 changed files with 3 additions and 2 deletions

View File

@ -5453,7 +5453,7 @@
"id": "limelight",
"name": "Limelight Clock",
"version": "0.01",
"description": " Simple configurable analogue clock based on the work of @Andreas_Rozek (Simple_Clock)",
"description": "Simple configurable analogue clock based on the work of @Andreas_Rozek (Simple_Clock)",
"icon": "limelight.png",
"screenshots": [{"url":"screenshot_limelight.png"}],
"type": "clock",

View File

@ -46,7 +46,7 @@ const CenterY = (g.getHeight()/2) + (Bangle.appRect.y/2);
const outerRadius = (g.getHeight() - Bangle.appRect.y)/2;
function debug(o) {
//console.log(o);
console.log(o);
}
debug("limelight.app.js");
@ -55,6 +55,7 @@ debug("CenterY=" + CenterY);
debug("outerRadius=" + outerRadius);
debug("y12=" + (CenterY - outerRadius));
debug("y6=" + (CenterY + outerRadius));
debug("appRect=" + Bangle.appRect);
const HourHandLength = outerRadius * 0.5;
const HourHandWidth = 2*3, halfHourHandWidth = HourHandWidth/2;