From 6f4b0ff5f4796df7a19c931a4a0bb0098480a19a Mon Sep 17 00:00:00 2001 From: waltem01 Date: Wed, 13 Mar 2024 14:15:54 +0100 Subject: [PATCH] bugfix: correct radius calculation --- Webserver/src/routes/clock/+page.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Webserver/src/routes/clock/+page.svelte b/Webserver/src/routes/clock/+page.svelte index 90c5a2e..f54c259 100644 --- a/Webserver/src/routes/clock/+page.svelte +++ b/Webserver/src/routes/clock/+page.svelte @@ -169,7 +169,7 @@ await displayClockPart('body', { x: middle.x, y: middle.y, - r: (clock.body * 2 - 1).toString() + r: ((clock.body / 100) * matrix.height).toFixed(0) }); // Display the seconds of the clock, converting position coordinates to strings await displayClockPart('seconds', {