diff --git a/dashboards/forza_composite/index.html b/dashboards/forza_composite/index.html index 0c3dc5b..51b3a73 100644 --- a/dashboards/forza_composite/index.html +++ b/dashboards/forza_composite/index.html @@ -98,12 +98,12 @@ function draw(cur,max){ ctx.arc(sx,sy,sr,d2r(As),d2r(Ae),false); ctx.lineTo(lx,ey); ctx.strokeStyle='rgba(255,255,255,.04)'; - ctx.lineWidth=gw;ctx.lineJoin='round'; + ctx.lineWidth=gw; ctx.stroke(); // progress stroke const pc=Math.min(cur/max,1); - if(pc>0){ + if(pc>.005){ const pd=pc*totalLen; ctx.beginPath(); if(pd<=arcLen){ @@ -113,7 +113,7 @@ function draw(cur,max){ ctx.lineTo(ex+(pd-arcLen)/lineLen*(lx-ex),ey); } ctx.strokeStyle=cur>=rl?'rgba(255,50,35,.95)':'rgba(255,255,255,.85)'; - ctx.lineWidth=gw;ctx.lineJoin='round'; + ctx.lineWidth=gw; ctx.stroke(); }