From 4382e696e7e64e8017d8dc0d5e4f301c30a40e65 Mon Sep 17 00:00:00 2001 From: Michael Lange Date: Tue, 17 Oct 2017 19:18:49 -0700 Subject: [PATCH] Always provide a valid value for transform --- ui/app/components/distribution-bar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/components/distribution-bar.js b/ui/app/components/distribution-bar.js index b8a043b72..105273df6 100644 --- a/ui/app/components/distribution-bar.js +++ b/ui/app/components/distribution-bar.js @@ -125,7 +125,7 @@ export default Component.extend(WindowResizable, { .attr('y', () => isNarrow ? '50%' : 0) .attr('clip-path', `url(#${this.get('maskId')})`) .attr('height', () => isNarrow ? '6px' : '100%') - .attr('transform', () => isNarrow && 'translate(0, -3)') + .attr('transform', () => isNarrow ? 'translate(0, -3)' : '') .merge(layers) .attr('class', (d, i) => `bar layer-${i}`) .transition()