Commit 8c580629 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Wrap rect for region by g - #194

parent 515f5bd9
......@@ -3380,12 +3380,13 @@
}
// rect for regions
mainRegion = main.select('.' + CLASS.regions).selectAll('rect.' + CLASS.region)
mainRegion = main.select('.' + CLASS.regions).selectAll('.' + CLASS.region)
.data(__regions);
mainRegion.enter().append('rect')
.style("fill-opacity", 0);
mainRegion
mainRegion.enter().append('g')
.attr('class', classRegion)
.append('rect')
.style("fill-opacity", 0);
mainRegion.selectAll('rect')
.attr("x", regionX)
.attr("y", regionY)
.attr("width", regionWidth)
......
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