mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v 0.8.22b
This commit is contained in:
parent
602a5283df
commit
c11f03d1f3
1 changed files with 2 additions and 2 deletions
|
|
@ -636,8 +636,8 @@ function changeMapSize() {
|
||||||
const height = Math.max(svgHeight, graphHeight);
|
const height = Math.max(svgHeight, graphHeight);
|
||||||
zoom.translateExtent([[0, 0], [width, height]]);
|
zoom.translateExtent([[0, 0], [width, height]]);
|
||||||
landmass.select("rect").attr("width", width).attr("height", height);
|
landmass.select("rect").attr("width", width).attr("height", height);
|
||||||
oceanPattern.select("rect").attr("fill", "url(#oceanic)").attr("width", width).attr("height", height);
|
oceanPattern.select("rect").attr("fill", "url(#oceanic)").attr("width", 0).attr("height", 0).attr("width", width).attr("height", height);
|
||||||
oceanLayers.select("rect").attr("id", "oceanBase").attr("width", width).attr("height", height);
|
oceanLayers.select("rect").attr("id", "oceanBase").attr("width", 0).attr("height", 0).attr("width", width).attr("height", height);
|
||||||
fitScaleBar();
|
fitScaleBar();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue