This commit is contained in:
Azgaar 2019-09-15 23:13:08 +03:00
parent 842361ae16
commit ed720300ff
4 changed files with 29 additions and 17 deletions

View file

@ -379,7 +379,7 @@ function editProvinces() {
.attr("x", d => d.x0).attr("y", d => d.y0)
.attr("width", d => d.x1 - d.x0).attr("height", d => d.y1 - d.y0);
node.select("text").attr("opacity", 1).transition().duration(1500)
node.select("text").transition().duration(1500)
.attr("x", d => d.x0).attr("y", d => d.y0);
setTimeout(hideNonfittingLabels, 2000);