mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
feat: fit map to screen size
This commit is contained in:
parent
ada39b47ad
commit
1200b9e60f
8 changed files with 64 additions and 75 deletions
|
|
@ -618,7 +618,7 @@ async function parseLoadedData(data) {
|
|||
}
|
||||
})();
|
||||
|
||||
changeMapSize();
|
||||
fitMapToScreen();
|
||||
|
||||
// remove href from emblems, to trigger rendering on load
|
||||
emblems.selectAll("use").attr("href", null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue