mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-08 05:42:07 -05:00
Fix monotoneCurve calculation for open paths
This commit is contained in:
parent
de0cfb7e3d
commit
ccb9f518b8
1 changed files with 1 additions and 1 deletions
|
@ -1787,7 +1787,7 @@ var Path = PathItem.extend(/** @lends Path# */{
|
||||||
// || !this.getInternalRoughBounds()._containsPoint(point))
|
// || !this.getInternalRoughBounds()._containsPoint(point))
|
||||||
// return 0;
|
// return 0;
|
||||||
curves.push(new Curve(segments[segments.length - 1]._point,
|
curves.push(new Curve(segments[segments.length - 1]._point,
|
||||||
segments[0]._point).getValues());
|
segments[0]._point));
|
||||||
}
|
}
|
||||||
for (i = 0, li = curves.length; i < li; i++) {
|
for (i = 0, li = curves.length; i < li; i++) {
|
||||||
crv = curves[i];
|
crv = curves[i];
|
||||||
|
|
Loading…
Reference in a new issue