v 0.8.22b

This commit is contained in:
Azgaar 2019-05-11 02:04:47 +03:00
parent 602a5283df
commit c11f03d1f3

View file

@ -636,8 +636,8 @@ function changeMapSize() {
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", width).attr("height", height);
oceanLayers.select("rect").attr("id", "oceanBase").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);
fitScaleBar();
}