[ts][pixi-v7] Fixed wrong slot object zIndex. See #3027.

This commit is contained in:
Davide Tantillo 2026-02-12 17:37:38 +01:00
parent 13ad9fe1b4
commit 01e8d8e074

View File

@ -589,7 +589,7 @@ export class Spine extends Container {
matrix.ty = bone.worldY;
slotObject.transform.setFromMatrix(matrix);
slotObject.zIndex = zIndex + 1;
slotObject.zIndex = zIndex;
slotObject.alpha = this.skeleton.color.a * slot.color.a;
}
}