mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 10:31:24 +01:00
feat: zones - restore layer
This commit is contained in:
parent
5b5ea664d4
commit
76843464de
2 changed files with 2 additions and 2 deletions
|
|
@ -181,6 +181,7 @@ function restoreLayers() {
|
|||
if (layerIsOn("toggleIce")) drawIce();
|
||||
if (layerIsOn("toggleEmblems")) drawEmblems();
|
||||
if (layerIsOn("toggleMarkers")) drawMarkers();
|
||||
if (layerIsOn("toggleZones")) drawZones();
|
||||
|
||||
// some layers are rendered each time, remove them if they are not on
|
||||
if (!layerIsOn("toggleBorders")) borders.selectAll("path").remove();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue