From 25de6dfd55c4c16632265655adb5b1143b5c0d4f Mon Sep 17 00:00:00 2001 From: Joan Date: Wed, 31 Dec 2025 12:47:38 +0100 Subject: [PATCH] Center clock --- matrix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix.py b/matrix.py index 30aabce..7c8ce08 100644 --- a/matrix.py +++ b/matrix.py @@ -158,7 +158,7 @@ class Matrix64Display(SampleBase): # === Clock (centered) === time_x = (64 - len(time_str) * 7) // 2 - graphics.DrawText(canvas, time_font, time_x, 38, time_color, time_str) + graphics.DrawText(canvas, time_font, time_x, 39, time_color, time_str) # === Horizontal line below clock === graphics.DrawLine(canvas, 0, 42, 63, 42, line_color)