Skip to content

Commit 9350fb9

Browse files
authored
Merge pull request #146 from redbearsam/fix/sunburst-opacity
Match arc opacity
2 parents b5bee26 + 1d5f959 commit 9350fb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/perspective-viewer-d3fc/src/js/series/sunburst/sunburstClick.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const clickHandler = (data, g, parent, parentTitle, path, label, radius,
4141
.filter(function(d) {
4242
return +this.getAttribute("fill-opacity") || arcVisible(d.target);
4343
})
44-
.attr("fill-opacity", d => (arcVisible(d.target) ? 0.8 : 0))
44+
.attr("fill-opacity", d => (arcVisible(d.target) ? 1 : 0))
4545
.attr("user-select", d => (arcVisible(d.target) ? "initial" : "none"))
4646
.attr("pointer-events", d => (arcVisible(d.target) ? "initial" : "none"))
4747
.attrTween("d", d => () => drawArc(radius)(d.current));

0 commit comments

Comments
 (0)