Skip to content
Permalink
Browse files

Recolor deme circle border on update

  • Loading branch information...
trvrb committed Mar 11, 2019
1 parent 061b3f4 commit cefef4a4aa14447a56c1ddad9a9be06c6544bdb6
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/components/map/mapHelpers.js
@@ -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); });

0 comments on commit cefef4a

Please sign in to comment.
You can’t perform that action at this time.