Skip to content

Commit cdd370f

Browse files
authored
Merge pull request #760 from jonobr1/756-subdivide
Last Point Subdivision Amendment
2 parents 1e11d78 + eebbd6c commit cdd370f

File tree

2 files changed

+168
-93
lines changed

2 files changed

+168
-93
lines changed

src/path.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -941,10 +941,9 @@ export class Path extends Shape {
941941
v.command = Commands.line;
942942
}
943943
});
944-
} else if (closed) {
945-
points.push(new Anchor(a.x, a.y));
946944
}
947945

946+
points.push(new Anchor(a.x, a.y));
948947
points[points.length - 1].command = closed
949948
? Commands.close
950949
: Commands.line;

0 commit comments

Comments
 (0)