mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Fix typo in new segment / handle hit-testing code.
This commit is contained in:
parent
9177bac125
commit
52891830e4
1 changed files with 1 additions and 1 deletions
|
@ -1788,7 +1788,7 @@ var Path = PathItem.extend(/** @lends Path# */{
|
||||||
}
|
}
|
||||||
|
|
||||||
function checkPoint(seg, pt, name) {
|
function checkPoint(seg, pt, name) {
|
||||||
if (isCloseEnough(pt), strokePadding)
|
if (isCloseEnough(pt, strokePadding))
|
||||||
return new HitResult(name, that, { segment: seg, point: pt });
|
return new HitResult(name, that, { segment: seg, point: pt });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue