From 576a6996cac76f519fbbd17ed634262c6aff17b4 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Wed, 30 Dec 2020 12:09:40 +0300 Subject: [PATCH] v1.4.61 --- modules/ui/layers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/layers.js b/modules/ui/layers.js index 4ab03365..19c05a6f 100644 --- a/modules/ui/layers.js +++ b/modules/ui/layers.js @@ -165,7 +165,7 @@ function drawHeightmap() { paths[h] += round(lineGen(points)); } - terrs.append("rect").attr("x", 0).attr("y", 0).attr("width", "100%").attr("height", "100%").attr("fill", scheme(.8)); // draw base layer + terrs.append("rect").attr("x", 0).attr("y", 0).attr("width", graphWidth).attr("height", graphHeight).attr("fill", scheme(.8)); // draw base layer for (const i of d3.range(20, 101)) { if (paths[i].length < 10) continue; const color = getColor(i, scheme);