style: larger NEXT ART font for RPM display

This commit is contained in:
2026-07-25 17:52:58 +08:00
parent 27161ca842
commit acc698c1cb
+2 -2
View File
@@ -150,9 +150,9 @@ function draw(cur,max){
} }
// RPM number // RPM number
ctx.fillStyle='#fff';ctx.font=`200 ${Math.max(48,W/12)|0}px 'NEXT ART',sans-serif`;ctx.textAlign='center'; ctx.fillStyle='#fff';ctx.font=`200 ${Math.max(64,W/9)|0}px 'NEXT ART',sans-serif`;ctx.textAlign='center';
ctx.fillText(Math.round(cur).toLocaleString(),sx,sy-180); ctx.fillText(Math.round(cur).toLocaleString(),sx,sy-180);
ctx.fillStyle='rgba(255,255,255,.12)';ctx.font=`${Math.max(12,W/44)|0}px 'NEXT ART',sans-serif`; ctx.fillStyle='rgba(255,255,255,.12)';ctx.font=`${Math.max(16,W/34)|0}px 'NEXT ART',sans-serif`;
ctx.fillText('\u00d71000 rpm',sx,sy-155); ctx.fillText('\u00d71000 rpm',sx,sy-155);
// redline // redline