Fix typo in new segment / handle hit-testing code.

This commit is contained in:
Jürg Lehni 2013-12-10 18:59:04 +01:00
parent 9177bac125
commit 52891830e4

View file

@ -1788,7 +1788,7 @@ var Path = PathItem.extend(/** @lends Path# */{
}
function checkPoint(seg, pt, name) {
if (isCloseEnough(pt), strokePadding)
if (isCloseEnough(pt, strokePadding))
return new HitResult(name, that, { segment: seg, point: pt });
}