mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Fix bug in Curve#getLocationOf().
This commit is contained in:
parent
49c8f8b6b5
commit
b05a21d6c9
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ var Curve = this.Curve = Base.extend(/** @lends Curve# */{
|
|||
|
||||
getLocationOf: function(point) {
|
||||
var t = this.getParameterOf.apply(this, arguments);
|
||||
return t != null ? CurveLocation(this, t) : null;
|
||||
return t != null ? new CurveLocation(this, t) : null;
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue