mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
don't draw markers if not required
This commit is contained in:
parent
1889ac919d
commit
937a92d7ef
2 changed files with 1 additions and 2 deletions
|
|
@ -308,7 +308,7 @@ window.Submap = (function () {
|
||||||
if (options.lockMarkers) m.lock = true;
|
if (options.lockMarkers) m.lock = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
drawMarkers();
|
if (layerIsOn("toggleMarkers")) drawMarkers();
|
||||||
|
|
||||||
stage("Redraw emblems.");
|
stage("Redraw emblems.");
|
||||||
drawEmblems();
|
drawEmblems();
|
||||||
|
|
|
||||||
|
|
@ -170,7 +170,6 @@ window.UISubmap = (function () {
|
||||||
oldstate = null; // destroy old state to free memory
|
oldstate = null; // destroy old state to free memory
|
||||||
|
|
||||||
restoreLayers();
|
restoreLayers();
|
||||||
turnButtonOn("toggleMarkers");
|
|
||||||
if (ThreeD.options.isOn) ThreeD.redraw();
|
if (ThreeD.options.isOn) ThreeD.redraw();
|
||||||
if ($("#worldConfigurator").is(":visible")) editWorld();
|
if ($("#worldConfigurator").is(":visible")) editWorld();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue