fix outborder river edit

This commit is contained in:
Azgaar 2021-08-03 23:26:17 +03:00
parent ca5aefaf15
commit 36629f1c20

View file

@ -111,7 +111,7 @@ function editRiver(id) {
debug debug
.select("#controlCells") .select("#controlCells")
.selectAll(`polygon.${type}`) .selectAll(`polygon.${type}`)
.data(cells) .data(cells.filter(i => pack.cells.i[i]))
.join("polygon") .join("polygon")
.attr("points", d => getPackPolygon(d)) .attr("points", d => getPackPolygon(d))
.attr("class", type); .attr("class", type);