Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
fix emote menu
Browse files Browse the repository at this point in the history
  • Loading branch information
HexaField committed Oct 27, 2022
1 parent 3f71f08 commit 4259555
Showing 1 changed file with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,69 +31,69 @@ export const useEmoteMenuHooks = ({ changeActiveMenu }: EmoteMenuHooksProps) =>

let [items, setItems] = useState([
{
body: <img src="/static/grinning.svg" alt="Dance 4" />,
body: <img src="/static/Wave.svg" alt="Wave" />,
containerProps: {
onClick: () => runAnimation(AvatarStates.DANCE4)
onClick: () => runAnimation(AvatarStates.WAVE)
}
},
{
body: <img src="/static/sad.svg" alt="sad" />,
body: <img src="/static/clap1.svg" alt="Clap" />,
containerProps: {
onClick: () => runAnimation(AvatarStates.DANCE2)
onClick: () => runAnimation(AvatarStates.CLAP)
}
},
{
body: <img src="/static/Kiss.svg" alt="Kiss" />,
body: <img src="/static/Dance1.svg" alt="Dance 1" />,
containerProps: {
onClick: () => runAnimation(AvatarStates.KISS)
onClick: () => runAnimation(AvatarStates.DANCE1)
}
},
{
body: <img src="/static/Cry.svg" alt="Cry" />,
body: <img src="/static/Dance2.svg" alt="Dance 2" />,
containerProps: {
onClick: () => runAnimation(AvatarStates.CRY)
onClick: () => runAnimation(AvatarStates.DANCE2)
}
},
{
body: <img src="/static/dance_new1.svg" alt="Dance 1" />,
body: <img src="/static/Dance3.svg" alt="Dance 3" />,
containerProps: {
onClick: () => runAnimation(AvatarStates.DANCE1)
onClick: () => runAnimation(AvatarStates.DANCE3)
}
},
{
body: <img src="/static/clap1.svg" alt="Dance 2" />,
body: <img src="/static/Dance4.svg" alt="Dance 4" />,
containerProps: {
onClick: () => runAnimation(AvatarStates.CLAP)
onClick: () => runAnimation(AvatarStates.DANCE4)
}
},
{
body: <img src="/static/victory.svg" alt="Dance 3" />,
body: <img src="/static/Kiss.svg" alt="Kiss" />,
containerProps: {
onClick: () => runAnimation(AvatarStates.DANCE3)
onClick: () => runAnimation(AvatarStates.KISS)
}
},
{
body: <img src="/static/Laugh.svg" alt="Laugh" />,
body: <img src="/static/Cry.svg" alt="Cry" />,
containerProps: {
onClick: () => runAnimation(AvatarStates.LAUGH)
onClick: () => runAnimation(AvatarStates.CRY)
}
},
{
body: <img src="/static/Defeat.svg" alt="Defeat" />,
body: <img src="/static/Laugh.svg" alt="Laugh" />,
containerProps: {
onClick: () => runAnimation(AvatarStates.DEFEAT)
onClick: () => runAnimation(AvatarStates.LAUGH)
}
},
{
body: <img src="/static/Wave.svg" alt="Wave" />,
body: <img src="/static/Defeat.svg" alt="Defeat" />,
containerProps: {
onClick: () => runAnimation(AvatarStates.WAVE)
onClick: () => runAnimation(AvatarStates.DEFEAT)
}
},
{
body: <img src="/static/restart.svg" />,
body: <img src="/static/restart.svg" alt="Reset" />,
containerProps: {
//onClick: () => runAnimation(AvatarStates.LOOPABLE_EMOTE, { animationName: AvatarAnimations.IDLE })
onClick: () => runAnimation(AvatarStates.LOCOMOTION)
}
}
])
Expand Down

0 comments on commit 4259555

Please sign in to comment.