diff --git a/src/shapes/path.class.js b/src/shapes/path.class.js index 819b12af821..8786297271c 100644 --- a/src/shapes/path.class.js +++ b/src/shapes/path.class.js @@ -684,8 +684,6 @@ break; case 'C': // bezierCurveTo, absolute - x = current[5]; - y = current[6]; controlX = current[3]; controlY = current[4]; bounds = fabric.util.getBoundsOfCurve(x, y, @@ -693,9 +691,11 @@ current[2], controlX, controlY, - x, - y + current[5], + current[6] ); + x = current[5]; + y = current[6]; break; case 's': // shorthand cubic bezierCurveTo, relative