Set indics back to default on reset
This commit is contained in:
@@ -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 |
Reference in New Issue
Block a user