Skip to content

Commit

Permalink
Update path.class.js (#3774)
Browse files Browse the repository at this point in the history
  • Loading branch information
by12 authored and asturur committed Mar 14, 2017
1 parent b979bd5 commit a7ff845
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/shapes/path.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -684,18 +684,18 @@
break;

case 'C': // bezierCurveTo, absolute
x = current[5];
y = current[6];
controlX = current[3];
controlY = current[4];
bounds = fabric.util.getBoundsOfCurve(x, y,
current[1],
current[2],
controlX,
controlY,
x,
y
current[5],
current[6]
);
x = current[5];
y = current[6];
break;

case 's': // shorthand cubic bezierCurveTo, relative
Expand Down

0 comments on commit a7ff845

Please sign in to comment.