mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-16 20:11:47 +08:00
[ts][pixi-v7] Fixed wrong slot object zIndex. See #3027.
This commit is contained in:
parent
13ad9fe1b4
commit
01e8d8e074
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user