From fb0e83d2dfc8f0795b7609e90e690b6932119cdd Mon Sep 17 00:00:00 2001 From: AskaEth Date: Sat, 25 Jul 2026 16:55:50 +0800 Subject: [PATCH] fix: adjust RPM arc center to keep left side on screen --- 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 90dda99..0c8c7ba 100644 --- a/dashboards/forza_composite/index.html +++ b/dashboards/forza_composite/index.html @@ -68,8 +68,8 @@ const M={aspect_ratio:"16:9",render_mode:"contain"};let GAME_ID=''; const ctx=canvas.getContext('2d'); let ws,rt,lR=-1,lG=-999,ldP=-1; - const N=66, Na=Math.round(N*.55), Nl=N-Na; - const Ca=200, Cb=390, Cr=320, As=180, Ae=270; // arc: center(200,390), r=320, from 180°→270° + const N=66, Na=Math.round(N*.5), Nl=N-Na; + const Ca=320, Cb=420, Cr=280, As=180, Ae=270; // arc: center(200,390), r=320, from 180°→270° function d2r(d){return d*Math.PI/180} function pr(r){if(!r||r==='auto')return null;const p=r.split(':');if(p.length===2)return +p[0]/+p[1]}