From c11f03d1f3763ab6a47ceebf890eeb7e340bfc45 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sat, 11 May 2019 02:04:47 +0300 Subject: [PATCH] v 0.8.22b --- modules/ui/options.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ui/options.js b/modules/ui/options.js index af8034b0..cca7b628 100644 --- a/modules/ui/options.js +++ b/modules/ui/options.js @@ -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(); }