feat: edit routes - start

This commit is contained in:
Azgaar 2024-04-29 23:19:11 +02:00
parent 681d97b2a7
commit d6c01c8995
3 changed files with 39 additions and 40 deletions

View file

@ -22,7 +22,7 @@ function clicked() {
if (grand.id === "emblems") editEmblem();
else if (parent.id === "rivers") editRiver(el.id);
else if (grand.id === "routes") editRoute();
else if (grand.id === "routes") editRoute({node: el});
else if (el.tagName === "tspan" && grand.parentNode.parentNode.id === "labels") editLabel();
else if (grand.id === "burgLabels") editBurg();
else if (grand.id === "burgIcons") editBurg();