bugfix: correct radius calculation

This commit is contained in:
waltem01 2024-03-13 14:15:54 +01:00
parent dcdac793c2
commit 6f4b0ff5f4

View File

@ -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', {