Fix arrangeCounters
This commit is contained in:
parent
b8fc681e53
commit
10558ce915
@ -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