Bug fix
parent
506f626083
commit
abb48b296f
|
|
@ -14,7 +14,7 @@ const cirRad = 2*Math.PI;
|
||||||
const proportion = 0.3; // relative size of hour hand
|
const proportion = 0.3; // relative size of hour hand
|
||||||
const thickness = 4; // thickness of decorative lines
|
const thickness = 4; // thickness of decorative lines
|
||||||
const settings = require("Storage").readJSON("app.json", 1);
|
const settings = require("Storage").readJSON("app.json", 1);
|
||||||
const decoration = settings['decoration']
|
const decoration = settings['decoration'];
|
||||||
|
|
||||||
const drawSegment = (params) => {
|
const drawSegment = (params) => {
|
||||||
angle1 = params.start/360*cirRad;
|
angle1 = params.start/360*cirRad;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue