Skip to content

Commit

Permalink
Pull my changes to new editor
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkennedy22 committed May 13, 2024
1 parent 6e7be19 commit b057cd8
Show file tree
Hide file tree
Showing 36 changed files with 826 additions and 113 deletions.
66 changes: 66 additions & 0 deletions public/editor/stateStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,72 @@ const gallerySectionInfos: (Pick<
},
},
},
{
key: "height",
text: "Face Height",
selectionType: "range",
renderOptions: {
rangeConfig: {
min: 0,
max: 1,
},
},
},
{
key: "mouth.id",
text: "Mouth Shape",
selectionType: "svgs",
flip: { key: "mouth.flip" },
},
{
key: "mouth.size",
text: "Mouth Size",
selectionType: "range",
renderOptions: {
rangeConfig: {
min: 0.6,
max: 1.2,
},
},
},
{
key: "eye.id",
text: "Eye Shape",
selectionType: "svgs",
},
{
key: "eye.size",
text: "Eye Size",
selectionType: "range",
renderOptions: {
rangeConfig: {
min: 0.75,
max: 1.25,
},
},
},
{
key: "eye.distance",
text: "Eye Distance",
selectionType: "range",
renderOptions: {
rangeConfig: {
min: -6,
max: 2,
},
},
},
{
key: "eye.height",
text: "Eye Height",
selectionType: "range",
renderOptions: {
rangeConfig: {
min: -10,
max: 10,
},
},
},
{
key: "eye.angle",
text: "Eye Angle",
Expand Down Expand Up @@ -179,6 +234,17 @@ const gallerySectionInfos: (Pick<
},
},
},
{
key: "nose.angle",
text: "Nose Angle",
selectionType: "range",
renderOptions: {
rangeConfig: {
min: -3,
max: 3,
},
},
},
{
key: "eyeLine.id",
text: "Eye Line Style",
Expand Down
Loading

0 comments on commit b057cd8

Please sign in to comment.