@esotericsoftware/spine-canvaskit 4.2.69 → 4.2.71
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/esm/spine-canvaskit.min.mjs +1 -1
- package/dist/esm/spine-canvaskit.mjs +1 -1
- package/dist/esm/spine-canvaskit.mjs.map +2 -2
- package/dist/iife/spine-canvaskit.js +1 -1
- package/dist/iife/spine-canvaskit.js.map +2 -2
- package/dist/iife/spine-canvaskit.min.js +1 -1
- package/package.json +2 -2
|
@@ -7138,7 +7138,7 @@ var spine = (() => {
|
|
|
7138
7138
|
}
|
|
7139
7139
|
if (a >= t) {
|
|
7140
7140
|
d = Math.pow(this.damping, 60 * t);
|
|
7141
|
-
const m = this.massInverse * t, e = this.strength, w = this.wind * f, g = (Skeleton.yDown ? -this.gravity : this.gravity) * f;
|
|
7141
|
+
const m = this.massInverse * t, e = this.strength, w = this.wind * f * skeleton.scaleX, g = (Skeleton.yDown ? -this.gravity : this.gravity) * f * skeleton.scaleY;
|
|
7142
7142
|
do {
|
|
7143
7143
|
if (x) {
|
|
7144
7144
|
this.xVelocity += (w - this.xOffset * e) * m;
|