fix: remove label path of regeneration

This commit is contained in:
Azgaar 2023-01-22 14:18:59 +04:00
parent e6142473a4
commit 8a1122e668
2 changed files with 3 additions and 5 deletions

View file

@ -74,10 +74,8 @@ toolsContent.addEventListener("click", function (event) {
});
function processFeatureRegeneration(event, button) {
if (button === "regenerateStateLabels") {
BurgsAndStates.drawStateLabels();
if (!layerIsOn("toggleLabels")) toggleLabels();
} else if (button === "regenerateReliefIcons") {
if (button === "regenerateStateLabels") BurgsAndStates.drawStateLabels();
else if (button === "regenerateReliefIcons") {
ReliefIcons();
if (!layerIsOn("toggleRelief")) toggleRelief();
} else if (button === "regenerateRoutes") {