Added comment for #287\

This commit is contained in:
Dennis Postma 2024-12-22 01:32:00 +01:00
parent 6e3c97d7d1
commit 5af2e399c9

View File

@ -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
}]) }])