mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
parent
2cf6cd7a14
commit
7a6ee5d5f4
1 changed files with 0 additions and 2 deletions
|
@ -194,8 +194,6 @@ var PathItem = Item.extend(/** @lends PathItem# */{
|
||||||
case 'm':
|
case 'm':
|
||||||
case 'l':
|
case 'l':
|
||||||
var move = lower === 'm';
|
var move = lower === 'm';
|
||||||
if (move && previous && previous !== 'z')
|
|
||||||
this.closePath(true);
|
|
||||||
for (var j = 0; j < length; j += 2)
|
for (var j = 0; j < length; j += 2)
|
||||||
this[j === 0 && move ? 'moveTo' : 'lineTo'](
|
this[j === 0 && move ? 'moveTo' : 'lineTo'](
|
||||||
current = getPoint(j));
|
current = getPoint(j));
|
||||||
|
|
Loading…
Reference in a new issue