mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Minor syntax fixes.
This commit is contained in:
parent
3a7547a255
commit
d70c9b0464
2 changed files with 2 additions and 2 deletions
|
@ -2104,7 +2104,7 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
|
|||
// and (through, to), and intersect them to get the center
|
||||
var l1 = new Line(from.add(through).divide(2),
|
||||
through.subtract(from).rotate(90)),
|
||||
l2 = new Line(through.add(to).divide(2),
|
||||
l2 = new Line(through.add(to).divide(2),
|
||||
to.subtract(through).rotate(90)),
|
||||
center = l1.intersect(l2),
|
||||
line = new Line(from, to, true),
|
||||
|
|
|
@ -175,7 +175,7 @@ var PathItem = this.PathItem = Item.extend(/** @lends PathItem# */{
|
|||
break;
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
/**
|
||||
* Smooth bezier curves without changing the amount of segments or their
|
||||
|
|
Loading…
Reference in a new issue