mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Fixed leaky _handle2
This commit is contained in:
parent
73d6c102a6
commit
8ca26f650a
1 changed files with 2 additions and 2 deletions
|
@ -1691,8 +1691,8 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
|
|||
},
|
||||
|
||||
cubicCurveTo: function(handle1, handle2, to) {
|
||||
var _handle1 = Point.read(arguments);
|
||||
_handle2 = Point.read(arguments);
|
||||
var _handle1 = Point.read(arguments),
|
||||
_handle2 = Point.read(arguments),
|
||||
_to = Point.read(arguments);
|
||||
// First modify the current segment:
|
||||
var current = getCurrentSegment(this);
|
||||
|
|
Loading…
Reference in a new issue