Commit 29392ff2 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Change color genes

parent 41cc7a00
...@@ -57,7 +57,7 @@ export default function () { ...@@ -57,7 +57,7 @@ export default function () {
updateGenes.attr("transform", d => "translate(" + d.position.x + "," + d.position.y + ")"); updateGenes.attr("transform", d => "translate(" + d.position.x + "," + d.position.y + ")");
updateGenes updateGenes
.select<SVGPathElement>("path") .select<SVGPathElement>("path")
.style("fill", d => d.strand === "+" ? "indianred": "steelblue") .style("fill", d => d.strand === "+" ? "darkred": "darkblue")
.attr( .attr(
"transform", "transform",
({ strand, position: { width } }) => (strand === "-") ({ strand, position: { width } }) => (strand === "-")
......
Supports Markdown
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