Set depth to 9999 to always show above character sprite
This commit is contained in:
parent
bdbda6456c
commit
014c08b17a
@ -35,7 +35,7 @@ const imageProps = computed(() => {
|
|||||||
const spriteAction = sprite.value?.spriteActions?.find((spriteAction) => spriteAction.action === direction)
|
const spriteAction = sprite.value?.spriteActions?.find((spriteAction) => spriteAction.action === direction)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
depth: 1,
|
depth: 9999,
|
||||||
originX: Number(spriteAction?.originX) ?? 0,
|
originX: Number(spriteAction?.originX) ?? 0,
|
||||||
originY: Number(spriteAction?.originY) ?? 0,
|
originY: Number(spriteAction?.originY) ?? 0,
|
||||||
flipX: isFlippedX.value,
|
flipX: isFlippedX.value,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user