mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-23 20:29:08 -04: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) {
|
getLocationOf: function(point) {
|
||||||
var t = this.getParameterOf.apply(this, arguments);
|
var t = this.getParameterOf.apply(this, arguments);
|
||||||
return t != null ? CurveLocation(this, t) : null;
|
return t != null ? new CurveLocation(this, t) : null;
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue