mirror of
https://github.com/Hopiu/fabric.js.git
synced 2026-05-19 19:01:52 +00:00
Update path.class.js (#3774)
This commit is contained in:
parent
b979bd5861
commit
a7ff845165
1 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue