v 0.8.23b

This commit is contained in:
Azgaar 2019-05-11 02:07:55 +03:00
parent c11f03d1f3
commit 8b6aa11b59

View file

@ -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();
}