Commit fe6d127f authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix transition for regions when data loaded

parent 27038291
......@@ -3241,11 +3241,11 @@
.append('rect')
.style("fill-opacity", 0);
mainRegion.selectAll('rect')
.transition().duration(duration)
.attr("x", regionX)
.attr("y", regionY)
.attr("width", regionWidth)
.attr("height", regionHeight)
.transition().duration(duration)
.style("fill-opacity", function (d) { return isValue(d.opacity) ? d.opacity : 0.1; });
mainRegion.exit().transition().duration(duration)
.style("fill-opacity", 0)
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment