Skip to content

Commit bf45703

Browse files
kumilingusCopilot
andauthored
Update examples/bezier-js/src/index.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8ab43c1 commit bf45703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/bezier-js/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function outlinePath(path, o) {
120120
let segmentPath = outline[j].toSVG();
121121
if (j > 0) {
122122
// Remove the first moveTo command
123-
let index = segmentPath.search(/[C,Q]/);
123+
let index = segmentPath.search(/[CQ]/);
124124
if (index > 0) {
125125
segmentPath = segmentPath.slice(index);
126126
}

0 commit comments

Comments
 (0)