From 2aabd54d508c534f09494258d64b6134062d6e6c Mon Sep 17 00:00:00 2001 From: AskaEth Date: Sat, 25 Jul 2026 17:25:45 +0800 Subject: [PATCH] fix: remove lineCap round to eliminate solid circle artifacts --- dashboards/forza_composite/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboards/forza_composite/index.html b/dashboards/forza_composite/index.html index 873a945..0c3dc5b 100644 --- a/dashboards/forza_composite/index.html +++ b/dashboards/forza_composite/index.html @@ -98,7 +98,7 @@ 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.lineCap='round';ctx.lineJoin='round'; + ctx.lineWidth=gw;ctx.lineJoin='round'; ctx.stroke(); // progress stroke @@ -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.lineCap='round';ctx.lineJoin='round'; + ctx.lineWidth=gw;ctx.lineJoin='round'; ctx.stroke(); }