@esotericsoftware/spine-webgl 4.0.18 → 4.0.19
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/iife/spine-webgl.js
CHANGED
|
@@ -1079,8 +1079,8 @@ var spine = (() => {
|
|
|
1079
1079
|
bone.scaleY = by + (Math.abs(y) * MathUtils.signum(by) - by) * alpha;
|
|
1080
1080
|
break;
|
|
1081
1081
|
case 3:
|
|
1082
|
-
bone.scaleX
|
|
1083
|
-
bone.scaleY
|
|
1082
|
+
bone.scaleX += (x - bone.data.scaleX) * alpha;
|
|
1083
|
+
bone.scaleY += (y - bone.data.scaleY) * alpha;
|
|
1084
1084
|
}
|
|
1085
1085
|
} else {
|
|
1086
1086
|
switch (blend) {
|
|
@@ -1146,7 +1146,7 @@ var spine = (() => {
|
|
|
1146
1146
|
bone.scaleX = bx + (Math.abs(x) * MathUtils.signum(bx) - bx) * alpha;
|
|
1147
1147
|
break;
|
|
1148
1148
|
case 3:
|
|
1149
|
-
bone.scaleX
|
|
1149
|
+
bone.scaleX += (x - bone.data.scaleX) * alpha;
|
|
1150
1150
|
}
|
|
1151
1151
|
} else {
|
|
1152
1152
|
switch (blend) {
|
|
@@ -1207,7 +1207,7 @@ var spine = (() => {
|
|
|
1207
1207
|
bone.scaleY = by + (Math.abs(y) * MathUtils.signum(by) - by) * alpha;
|
|
1208
1208
|
break;
|
|
1209
1209
|
case 3:
|
|
1210
|
-
bone.scaleY
|
|
1210
|
+
bone.scaleY += (y - bone.data.scaleY) * alpha;
|
|
1211
1211
|
}
|
|
1212
1212
|
} else {
|
|
1213
1213
|
switch (blend) {
|