From ad9c170f7884692b01c600b826f0d5ace375ac3b Mon Sep 17 00:00:00 2001 From: Mark Hoekstra Date: Fri, 11 Dec 2020 12:17:38 -0700 Subject: [PATCH] Use correct variable for secondary timezone fontsize --- apps/worldclock/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/worldclock/app.js b/apps/worldclock/app.js index 81078f6d7..5d676b615 100644 --- a/apps/worldclock/app.js +++ b/apps/worldclock/app.js @@ -6,7 +6,7 @@ const primaryDateFontSize = 3; // Font for single secondary time const secondaryTimeFontSize = 4; -const secondaryTimeZoneFontSize = 4; +const secondaryTimeZoneFontSize = 2; // Font / columns for multiple secondary times const secondaryRowColFontSize = 2; @@ -111,7 +111,7 @@ function drawSimpleClock() { const xOffset = 30; g.setFont(font, secondaryTimeFontSize); g.drawString(`${hours}:${minutes}`, xyCenter, yposTime + 100, true); - g.setFont(font, secondaryTimeFontSize - 2); + g.setFont(font, secondaryTimeZoneFontSize); g.drawString(offset[OFFSET_TIME_ZONE], xyCenter, yposTime + 130, true); // draw Day, name of month, Date