adds hour indicator

This commit is contained in:
Raphael Maenle 2020-08-15 10:14:46 +02:00
parent 84687f3c73
commit d972fbb7ca

View File

@ -612,7 +612,7 @@ var flagDigital = true;
if(DESIGN === 0) { if(DESIGN === 0) {
} else if(DESIGN === 1) { } else if(DESIGN === 1) {
var inner = document.body.clientWidth / 2 - thickness; var inner = document.body.clientWidth / 2 - thickness;
// renderRing(ctxContent, center, inner, 4, "#FFFFFF"); renderSimpleArc(ctxContent, center, 115, 8, "#FFFFFF", hourToAngle(20), hourToAngle(20+0.999))
for(var i = 0; i < 24; i++) { for(var i = 0; i < 24; i++) {
renderSimpleArc(ctxContent, center, edge, thickness, "#000000", i*15-0.8, i*15+0.8); renderSimpleArc(ctxContent, center, edge, thickness, "#000000", i*15-0.8, i*15+0.8);
} }