mirror of
https://git.roussel.pro/public-website/singapore_rain_radar.git
synced 2026-02-09 02:20:17 +01:00
attempt yo fix font
This commit is contained in:
@@ -12,7 +12,7 @@ async function overlayImage(time_string) {
|
||||
ctx.drawImage(overlay, 0, 0, 853, 479)
|
||||
|
||||
let text = time_string.substring(8, 10) + ':' + time_string.substring(10, 12);
|
||||
ctx.font = 'bold 70px sans-serif';
|
||||
ctx.font = 'bold 70px';
|
||||
ctx.fillStyle = 'rgba(0,0,0,0.7)';
|
||||
ctx.fillText(text, 853 - 250, 479 - 40);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user