Fix cancel firing arc placement bug

This commit is contained in:
2024-04-30 17:31:38 -07:00
parent d393934679
commit 9304d937fc
2 changed files with 2 additions and 2 deletions

View File

@@ -294,7 +294,7 @@ function set(svg, size, counter, { x, y }) {
function cancelPlacementListener(e) {
e.preventDefault();
get(counter).forEach(el => el.remove());
get(svg, counter).forEach(el => el.remove());
grid.removeAttribute('style');
svg.removeEventListener('mousemove', positionListener);
}