Fix arrangeCounters
This commit is contained in:
parent
aadc01376d
commit
59dfb8d697
@ -434,7 +434,7 @@ export function setCounter(name) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function arrangeCounters(container) {
|
function arrangeCounters(container) {
|
||||||
const counters = container.querySelectorAll('[class^="counter-"]');
|
const counters = [...container.children].filter(isCounter);
|
||||||
const length = 12;
|
const length = 12;
|
||||||
const gravity = 1;
|
const gravity = 1;
|
||||||
const lateralForce = gravity;
|
const lateralForce = gravity;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user