Always provide a valid value for transform
This commit is contained in:
parent
3d93398eae
commit
f07c222274
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue