Set indics back to default on reset

This commit is contained in:
2026-01-08 11:11:36 -08:00
parent da2b1d9a6f
commit 0e4da0fc67

View File

@@ -855,6 +855,11 @@ function init() {
s.node.style.transform = `translate(${s.position.x}px, ${s.position.y}px)`;
wallElements.forEach(w => w.setAttribute('fill', 'black'));
velIndic.setAttribute('x2', 0);
velIndic.setAttribute('y2', 0);
acclIndic.setAttribute('x2', 0);
acclIndic.setAttribute('y2', 0);
time.innerText = "0";
}

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB