mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
fix formatting
This commit is contained in:
parent
0d71f10f05
commit
70e7adb5d0
1 changed files with 2 additions and 6 deletions
|
|
@ -164,12 +164,8 @@ async function getMapURL(type, options = {}) {
|
|||
clone.select("#oceanBase").attr("opacity", 0);
|
||||
clone.select("#oceanPattern").attr("opacity", 0);
|
||||
}
|
||||
if (noScaleBar) {
|
||||
clone.select("#scaleBar")?.remove()
|
||||
}
|
||||
if (noIce) {
|
||||
clone.select("#ice")?.remove()
|
||||
}
|
||||
if (noScaleBar) clone.select("#scaleBar")?.remove();
|
||||
if (noIce) clone.select("#ice")?.remove();
|
||||
if (fullMap) {
|
||||
// reset transform to show the whole map
|
||||
clone.attr("width", graphWidth).attr("height", graphHeight);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue