diff --git a/src/path/Path.js b/src/path/Path.js index 8508ef8d..3485d381 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -1561,7 +1561,7 @@ var Path = PathItem.extend(/** @lends Path# */{ if (parameter === 0 || parameter === 1 && numSegments > 1) { if (!checkSegmentStroke(loc.getSegment())) loc = null; - } else if (!isCloseEnough(loc.getPoint(), strokePadding)) { + } else if (!isCloseEnough(loc.getPoint(), strokePadding)) { loc = null; } }