Always provide a valid value for transform

This commit is contained in:
Michael Lange 2017-10-17 19:18:49 -07:00
parent 3d93398eae
commit f07c222274
1 changed files with 1 additions and 1 deletions

View File

@ -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()