mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Replace hidden getter call with direct access of internal property.
This commit is contained in:
parent
a0e211c691
commit
3af24e6178
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ var Path = this.Path = PathItem.extend({
|
||||||
|
|
||||||
join: function(path) {
|
join: function(path) {
|
||||||
if (path) {
|
if (path) {
|
||||||
var segments = path.segments,
|
var segments = path._segments,
|
||||||
last1 = this.getLastSegment(),
|
last1 = this.getLastSegment(),
|
||||||
last2 = path.getLastSegment();
|
last2 = path.getLastSegment();
|
||||||
if (last1._point.equals(last2._point))
|
if (last1._point.equals(last2._point))
|
||||||
|
|
Loading…
Reference in a new issue