Skip to content

Commit

Permalink
Recolor deme circle border on update
Browse files Browse the repository at this point in the history
  • Loading branch information
trvrb committed Mar 11, 2019
1 parent 061b3f4 commit cefef4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/map/mapHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ export const updateVisibility = (
.transition()
.duration(200)
.ease(easeLinear)
.style("stroke", (d) => { return d.count > 0 ? d.color : "white"; })
.style("fill", (d) => { return d.count > 0 ? d.color : "white"; })
.attr("r", (d) => { return demeMultiplier * Math.sqrt(d.count); });

Expand Down

0 comments on commit cefef4a

Please sign in to comment.