mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-19 02:21: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
|
|
@ -3,6 +3,8 @@
|
|||
function drawBurgLabels() {
|
||||
TIME && console.time("drawBurgLabels");
|
||||
|
||||
burgLabels.selectAll("text").remove(); // cleanup
|
||||
|
||||
const capitals = pack.burgs.filter(b => b.capital && !b.removed);
|
||||
const capitalSize = burgIcons.select("#cities").attr("size") || 1;
|
||||
burgLabels
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue