mirror of
https://gitlab1.ptb.de/waltem01/Matrix
synced 2024-12-25 11:31:46 +00:00
bugfix: correct radius calculation
This commit is contained in:
parent
dcdac793c2
commit
6f4b0ff5f4
@ -169,7 +169,7 @@
|
|||||||
await displayClockPart('body', {
|
await displayClockPart('body', {
|
||||||
x: middle.x,
|
x: middle.x,
|
||||||
y: middle.y,
|
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
|
// Display the seconds of the clock, converting position coordinates to strings
|
||||||
await displayClockPart('seconds', {
|
await displayClockPart('seconds', {
|
||||||
|
Loading…
Reference in New Issue
Block a user