mirror of
https://gitlab1.ptb.de/waltem01/Matrix
synced 2024-11-14 00:43:50 +00:00
bugfix: correct radius calculation
This commit is contained in:
parent
dcdac793c2
commit
6f4b0ff5f4
@ -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', {
|
||||
|
Loading…
Reference in New Issue
Block a user