mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -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) {
|
||||
if (path) {
|
||||
var segments = path.segments,
|
||||
var segments = path._segments,
|
||||
last1 = this.getLastSegment(),
|
||||
last2 = path.getLastSegment();
|
||||
if (last1._point.equals(last2._point))
|
||||
|
|
Loading…
Reference in a new issue