From 4843c61841264e35047bfea74758c4b56037b80d Mon Sep 17 00:00:00 2001 From: AskaEth Date: Sat, 25 Jul 2026 19:10:05 +0800 Subject: [PATCH] fix: 8k mark label above gauge line instead of below --- dashboards/forza_composite/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboards/forza_composite/index.html b/dashboards/forza_composite/index.html index edcebf6..6191a13 100644 --- a/dashboards/forza_composite/index.html +++ b/dashboards/forza_composite/index.html @@ -145,7 +145,7 @@ function draw(cur,max){ ctx.beginPath();ctx.moveTo(p.x,ey-gw/2-4);ctx.lineTo(p.x,ey+gw/2+4); ctx.strokeStyle=r>=rl?'rgba(255,255,255,.15)':'rgba(255,255,255,.08)'; ctx.lineWidth=r%4000===0?2.5:1;ctx.stroke(); - if(r%4000===0){ctx.fillStyle='rgba(255,255,255,.22)';ctx.font=`${Math.max(26,W/19)|0}px 'NEXT ART',sans-serif`;ctx.textAlign='center';ctx.fillText(Math.round(r/1000),p.x,ey+gw/2+22)} + if(r%4000===0){ctx.fillStyle='rgba(255,255,255,.22)';ctx.font=`${Math.max(26,W/19)|0}px 'NEXT ART',sans-serif`;ctx.textAlign='center';ctx.fillText(Math.round(r/1000),p.x,ey-gw/2-10)} } }