|
@@ -398,7 +398,7 @@ export class Spine extends Container {
|
|
}
|
|
}
|
|
private updatePixiObject (pixiObject: Container, slot: Slot, zIndex: number) {
|
|
private updatePixiObject (pixiObject: Container, slot: Slot, zIndex: number) {
|
|
pixiObject.position.set(slot.bone.worldX, slot.bone.worldY);
|
|
pixiObject.position.set(slot.bone.worldX, slot.bone.worldY);
|
|
- pixiObject.scale.set(slot.bone.getWorldScaleX(), slot.bone.getWorldScaleX());
|
|
|
|
|
|
+ pixiObject.scale.set(slot.bone.getWorldScaleX(), slot.bone.getWorldScaleY());
|
|
pixiObject.rotation = slot.bone.getWorldRotationX() * MathUtils.degRad;
|
|
pixiObject.rotation = slot.bone.getWorldRotationX() * MathUtils.degRad;
|
|
pixiObject.zIndex = zIndex + 1;
|
|
pixiObject.zIndex = zIndex + 1;
|
|
pixiObject.alpha = this.skeleton.color.a * slot.color.a;
|
|
pixiObject.alpha = this.skeleton.color.a * slot.color.a;
|