Skip to content

Commit

Permalink
Fixed typo in shape render function (elastic#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 authored Jul 24, 2018
1 parent fa84d7f commit d07e1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/render_functions/shape/shape.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const shape = () => ({
shapeContent.setAttribute('stroke-miterlimit', 999);
shapeContent.setAttribute('vector-effect', 'non-scaling-stroke');

shapeSvg.setAttribute('preserveAspectRatio', maintainAspect ? 'xMidYmid meet' : 'none');
shapeSvg.setAttribute('preserveAspectRatio', maintainAspect ? 'xMidYMid meet' : 'none');

const initialViewBox = shapeSvg
.getAttribute('viewBox')
Expand Down

0 comments on commit d07e1d1

Please sign in to comment.