adds hour indicator
This commit is contained in:
parent
84687f3c73
commit
d972fbb7ca
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user