mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +01:00
v 0.8.23b
This commit is contained in:
parent
c11f03d1f3
commit
8b6aa11b59
1 changed files with 3 additions and 3 deletions
|
|
@ -635,9 +635,9 @@ function changeMapSize() {
|
|||
const width = Math.max(svgWidth, graphWidth);
|
||||
const height = Math.max(svgHeight, graphHeight);
|
||||
zoom.translateExtent([[0, 0], [width, height]]);
|
||||
landmass.select("rect").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", 0).attr("height", 0).attr("width", width).attr("height", height);
|
||||
landmass.select("rect").attr("x", 0).attr("y", 0).attr("width", width).attr("height", height);
|
||||
oceanPattern.select("rect").attr("x", 0).attr("y", 0).attr("width", width).attr("height", height);
|
||||
oceanLayers.select("rect").attr("x", 0).attr("y", 0).attr("width", width).attr("height", height);
|
||||
fitScaleBar();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue