From f9afec786c04918c45600ae798b8996ff9546894 Mon Sep 17 00:00:00 2001 From: AskaEth Date: Sat, 25 Jul 2026 18:58:20 +0800 Subject: [PATCH] style: RPM number higher and righter --- 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 0e5364f..663efe3 100644 --- a/dashboards/forza_composite/index.html +++ b/dashboards/forza_composite/index.html @@ -151,9 +151,9 @@ function draw(cur,max){ // RPM number ctx.fillStyle='#fff';ctx.font=`200 ${Math.max(128,W/4.5)|0}px 'NEXT ART',sans-serif`;ctx.textAlign='center'; - ctx.fillText(Math.round(cur).toLocaleString(),sx,sy-240); + ctx.fillText(Math.round(cur).toLocaleString(),sx+40,sy-260); ctx.fillStyle='rgba(255,255,255,.12)';ctx.font=`${Math.max(32,W/17)|0}px 'NEXT ART',sans-serif`; - ctx.fillText('\u00d71000 rpm',sx,sy-170); + ctx.fillText('\u00d71000 rpm',sx+40,sy-180); // redline ctx.strokeStyle='rgba(255,40,30,.1)';ctx.lineWidth=1;ctx.setLineDash([3,6]);