Fixes for origin being string, styling bug hair select and wrong label tags

This commit is contained in:
2024-12-21 17:48:20 +01:00
parent 0e455f8ffc
commit 2c7a1e27be
3 changed files with 5 additions and 5 deletions

View File

@ -37,8 +37,8 @@ const imageProps = computed(() => {
return {
depth: 1,
originX: spriteAction?.originX ?? 0,
originY: spriteAction?.originY ?? 0,
originX: Number(spriteAction?.originX) ?? 0,
originY: Number(spriteAction?.originY) ?? 0,
flipX: isFlippedX.value,
texture: texture.value,
y: props.zoneCharacter.isMoving ? Math.floor(Date.now() / 250) % 2 : 0