Fix cancel firing arc placement bug
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user