mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Use Segment.read() correctly in Path#initialize().
This commit is contained in:
parent
3a46ac3b54
commit
c84df5a346
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ Path = PathItem.extend({
|
|||
|| typeof segments[0] != 'object')
|
||||
segments = arguments;
|
||||
for (var i = 0, l = segments.length; i < l; i++)
|
||||
this._add(Segment.read(segments[i]));
|
||||
this._add(Segment.read(segments, i, 1));
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue