diff --git a/components/sections/polybezier/index.js b/components/sections/polybezier/index.js index 04caaa06..5bd71fa6 100644 --- a/components/sections/polybezier/index.js +++ b/components/sections/polybezier/index.js @@ -149,7 +149,8 @@ var PolyBezier = React.createClass({ }, moveQuadraticPoint: function(api, i) { - this.moveCubicPoint(api,i), anchor, toMove, fixed; + this.moveCubicPoint(api,i); + var anchor, toMove, fixed; // then move the other control points [-1,1].forEach(v => {