mirror of https://github.com/espruino/BangleApps
limelight fixes
parent
cc7cbd24e1
commit
bce36e9afc
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue