Skip to content

Commit

Permalink
Small tweaks for mouth order
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkennedy22 committed May 18, 2024
1 parent 4babb02 commit 1975b67
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/display.ts
Original file line number Diff line number Diff line change
Expand Up @@ -691,10 +691,6 @@ export const display = (
opaqueLines: true,
strokeColor: faceLineStrokeColor,
},
{
name: "mouth",
positions: [[200, 440]],
},
{
name: "eye",
positions: [
Expand All @@ -720,6 +716,10 @@ export const display = (
positions: [null],
scaleFatness: true,
},
{
name: "mouth",
positions: [[200, 440]],
},
{
name: "hair",
positions: [null],
Expand Down Expand Up @@ -782,7 +782,7 @@ export const display = (

console.log({ metadata, info, feature });
if (metadata.clip) {
clipToParent(insideSVG, baseFace, "beforeend");
clipToParent(insideSVG, baseFace.clone(), "beforeend");
}

// After we add hair (which is last feature on face), add outer stroke to wrap entire face
Expand Down

0 comments on commit 1975b67

Please sign in to comment.