From d8a75c2307adec92aea9a05c26cbefa54beea8a0 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Wed, 5 Aug 2020 15:56:21 +1000 Subject: [PATCH] remove selective fade in answer buttons graph --- ts/src/stats/buttons.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ts/src/stats/buttons.ts b/ts/src/stats/buttons.ts index 7a3a6cf1a..ea822189e 100644 --- a/ts/src/stats/buttons.ts +++ b/ts/src/stats/buttons.ts @@ -197,16 +197,7 @@ export function renderButtons( const updateBar = (sel: any): any => { return sel .attr("width", xButton.bandwidth()) - .attr("opacity", (d: Datum) => { - switch (d.group) { - case "learning": - return 0.6; - case "young": - return 0.8; - case "mature": - return 1; - } - }) + .attr("opacity", 0.8) .transition(trans) .attr( "x",