From 801dc99f231b55e7026b361df5ab35b457d12b96 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sat, 19 Oct 2019 12:03:50 +0300 Subject: [PATCH] v1.11.3 --- modules/save-and-load.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/save-and-load.js b/modules/save-and-load.js index 4838ce50..78abbf78 100644 --- a/modules/save-and-load.js +++ b/modules/save-and-load.js @@ -56,6 +56,7 @@ async function getMapURL(type) { const isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1; if (isFirefox && type === "mesh") clone.select("#oceanPattern").remove(); + if (type === "mesh") clone.attr("width", graphWidth).attr("height", graphHeight); if (type !== "png") clone.select("#viewbox").attr("transform", null); // reset transform to show whole map if (type === "svg") removeUnusedElements(clone); if (type === "mesh") updateMeshCells(clone);