From 6906adc2586de1d6ccf55156e3815581662783ee Mon Sep 17 00:00:00 2001 From: Franc Camps-Febrer Date: Fri, 1 Feb 2019 11:06:36 -0500 Subject: [PATCH] Hide other narratives when one is selected --- src/components/presentational/Map/Narratives.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/presentational/Map/Narratives.jsx b/src/components/presentational/Map/Narratives.jsx index e73f77f..ed73495 100644 --- a/src/components/presentational/Map/Narratives.jsx +++ b/src/components/presentational/Map/Narratives.jsx @@ -30,7 +30,7 @@ function MapNarratives ({ styles, onSelectNarrative, svg, narrative, narratives, // 0 if not in narrative mode, 1 if active narrative, 0.1 if inactive let styles = { strokeOpacity: (n === null) ? 0 - : (step && (n.id === narrative.id)) ? 1 : 0.1, + : (step && (n.id === narrative.id)) ? 1 : 0.0, strokeWidth: 0, strokeDasharray: 'none', stroke: 'none'