forked from noxious/server
Added comment for #287\
This commit is contained in:
parent
6e3c97d7d1
commit
5af2e399c9
@ -43,7 +43,7 @@ async function generateAvatar(res: Response, options: AvatarOptions) {
|
|||||||
avatar = avatar.composite([{
|
avatar = avatar.composite([{
|
||||||
input: hairSpritePath,
|
input: hairSpritePath,
|
||||||
gravity: 'north',
|
gravity: 'north',
|
||||||
// Top is originY in min
|
// Top is originY in min @TODO finish me #287
|
||||||
// top: Math.round(Number(characterHair.sprite!.spriteActions.find((action) => action.action === 'front')?.originY ?? 0)),
|
// top: Math.round(Number(characterHair.sprite!.spriteActions.find((action) => action.action === 'front')?.originY ?? 0)),
|
||||||
// left: 0
|
// left: 0
|
||||||
}])
|
}])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user