fix: elevation profile color scheme

This commit is contained in:
Azgaar 2024-03-01 11:46:07 +01:00
parent 14ac83e6f5
commit 09f835c210
4 changed files with 42 additions and 10 deletions

View file

@ -364,7 +364,7 @@ function removeUnusedElements(clone) {
function updateMeshCells(clone) {
const data = renderOcean.checked ? grid.cells.i : grid.cells.i.filter(i => grid.cells.h[i] >= 20);
const scheme = getColorScheme(terrs.attr("scheme"));
const scheme = getColorScheme(terrs.select("#landHeights").attr("scheme"));
clone.select("#heights").attr("filter", "url(#blur1)");
clone
.select("#heights")