mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 10:31:24 +01:00
fix: regenerate burgs to re-render layers
This commit is contained in:
parent
50c6c56461
commit
b142df8f0a
5 changed files with 8 additions and 2 deletions
|
|
@ -895,14 +895,12 @@ function drawLabels() {
|
|||
function toggleBurgIcons(event) {
|
||||
if (!layerIsOn("toggleBurgIcons")) {
|
||||
turnButtonOn("toggleBurgIcons");
|
||||
$("#icons").fadeIn();
|
||||
drawBurgIcons();
|
||||
if (event && isCtrlClick(event)) editStyle("burgIcons");
|
||||
} else {
|
||||
if (event && isCtrlClick(event)) return editStyle("burgIcons");
|
||||
turnButtonOff("toggleBurgIcons");
|
||||
icons.selectAll("circle, use").remove();
|
||||
$("#icons").fadeOut();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue