mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-06 02:21:25 +01:00
fix: update editIce function to accept element parameter and improve logic for glacier handling
This commit is contained in:
parent
3711478d59
commit
6003dbb111
2 changed files with 21 additions and 23 deletions
|
|
@ -26,7 +26,7 @@ function clicked() {
|
|||
else if (ancestor.id === "labels" && el.tagName === "tspan") editLabel();
|
||||
else if (grand.id === "burgLabels") editBurg();
|
||||
else if (grand.id === "burgIcons") editBurg();
|
||||
else if (parent.id === "ice") editIce();
|
||||
else if (parent.id === "ice") editIce(el);
|
||||
else if (parent.id === "terrain") editReliefIcon();
|
||||
else if (grand.id === "markers" || great.id === "markers") editMarker();
|
||||
else if (grand.id === "coastline") editCoastline();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue