@esotericsoftware/spine-pixi-v8 4.2.99 → 4.2.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Spine.js +9 -14
- package/dist/esm/spine-pixi-v8.min.mjs +3 -3
- package/dist/esm/spine-pixi-v8.mjs +8 -15
- package/dist/esm/spine-pixi-v8.mjs.map +2 -2
- package/dist/iife/spine-pixi-v8.js +8 -15
- package/dist/iife/spine-pixi-v8.js.map +2 -2
- package/dist/iife/spine-pixi-v8.min.js +3 -3
- package/package.json +2 -2
|
@@ -12615,21 +12615,14 @@ var spine = (() => {
|
|
|
12615
12615
|
container.visible = this.skeleton.drawOrder.includes(slot) && followAttachmentValue;
|
|
12616
12616
|
if (container.visible) {
|
|
12617
12617
|
let bone = slot.bone;
|
|
12618
|
-
container.
|
|
12619
|
-
|
|
12620
|
-
|
|
12621
|
-
|
|
12622
|
-
|
|
12623
|
-
|
|
12624
|
-
|
|
12625
|
-
|
|
12626
|
-
}
|
|
12627
|
-
;
|
|
12628
|
-
if (cumulativeScaleX < 0) container.angle -= 180;
|
|
12629
|
-
container.scale.set(
|
|
12630
|
-
slot.bone.getWorldScaleX() * Math.sign(cumulativeScaleX),
|
|
12631
|
-
slot.bone.getWorldScaleY() * Math.sign(cumulativeScaleY)
|
|
12632
|
-
);
|
|
12618
|
+
const matrix = container.localTransform;
|
|
12619
|
+
matrix.a = bone.a;
|
|
12620
|
+
matrix.b = bone.c;
|
|
12621
|
+
matrix.c = -bone.b;
|
|
12622
|
+
matrix.d = -bone.d;
|
|
12623
|
+
matrix.tx = bone.worldX;
|
|
12624
|
+
matrix.ty = bone.worldY;
|
|
12625
|
+
container.setFromMatrix(matrix);
|
|
12633
12626
|
container.alpha = this.skeleton.color.a * slot.color.a;
|
|
12634
12627
|
}
|
|
12635
12628
|
}
|