From 43f458a31442ed096c83cc14e2c37044f1258e72 Mon Sep 17 00:00:00 2001 From: Remi PLANEL <rplanel@pasteur.fr> Date: Thu, 2 May 2024 17:39:26 +0200 Subject: [PATCH] use currentcolor --- components/OperonStructure.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/OperonStructure.vue b/components/OperonStructure.vue index 19b45f82..8f0e1bb3 100644 --- a/components/OperonStructure.vue +++ b/components/OperonStructure.vue @@ -269,7 +269,7 @@ function draw() { .attr("y1", yScaleVal.gene + geneHeightVal / 2) .attr("x2", computedPlotWidth.value + marginRight) .attr("y2", yScaleVal.gene + geneHeightVal / 2) - .attr("stroke", "black") + .attr("stroke", "currentColor") .attr("stroke-width", "2px") gOperon @@ -405,7 +405,7 @@ function drawGenes(operonGroup: d3.Selection<SVGGElement, any, SVGElement | null const genePathSelection = genesSelection .select("path.gene") - .attr("stroke", "black") + .attr("stroke", "currentColor") .attr("stroke-width", 2) genePathSelection .transition() -- GitLab