soiz1 commited on
Commit
6272718
·
verified ·
1 Parent(s): ca79f30

Update src/components/waveform/waveform.jsx

Browse files
src/components/waveform/waveform.jsx CHANGED
@@ -38,7 +38,7 @@ class Waveform extends React.PureComponent {
38
  ];
39
  const pathComponents = points.map(([x, y], i) => {
40
  const [nx, ny] = points[i < points.length - 1 ? i + 1 : 0];
41
- return `Q${x} ${y} ${(x + nx) / 2} ${(y + ny) / 2}`;
42
  });
43
 
44
  return (
 
38
  ];
39
  const pathComponents = points.map(([x, y], i) => {
40
  const [nx, ny] = points[i < points.length - 1 ? i + 1 : 0];
41
+ return `L${x} ${y} ${(x + nx) / 2} ${(y + ny) / 2}`;
42
  });
43
 
44
  return (