From 1be8c502f0aad79a74f19c4e361e972eb5738720 Mon Sep 17 00:00:00 2001 From: Marco H Date: Tue, 25 Oct 2022 08:59:25 +0200 Subject: [PATCH] Improve positioning with big weather enabled --- apps/circlesclock/app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/circlesclock/app.js b/apps/circlesclock/app.js index 7cd2ad0ec..1f53eccf4 100644 --- a/apps/circlesclock/app.js +++ b/apps/circlesclock/app.js @@ -124,7 +124,7 @@ function draw() { } else { g.setFontAlign(-1, -1); - g.drawString(locale.time(new Date(), 1), 5, h1 + 6); + g.drawString(locale.time(new Date(), 1), 2, h1 + 6); } now = Math.round(new Date().getTime() / 1000); @@ -136,8 +136,8 @@ function draw() { g.drawString(locale.dow(new Date()), w / 2, h2 + dowOffset); } else { g.setFontAlign(-1, 0); - g.drawString(locale.date(new Date()), 5, h2); - g.drawString(locale.dow(new Date()), 5, h2 + dowOffset, 1); + g.drawString(locale.date(new Date()), 2, h2); + g.drawString(locale.dow(new Date()), 2, h2 + dowOffset, 1); } // weather