Skip to content

Commit 65f41f7

Browse files
kumilingusCopilot
andcommitted
Update examples/bezier-js/src/index.js
Co-authored-by: Copilot <[email protected]>
1 parent c2b196a commit 65f41f7

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)