@esotericsoftware/spine-canvas 4.0.18 → 4.0.21

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.
@@ -1038,8 +1038,8 @@ var spine = (() => {
1038
1038
  bone.scaleY = by + (Math.abs(y) * MathUtils.signum(by) - by) * alpha;
1039
1039
  break;
1040
1040
  case 3:
1041
- bone.scaleX = (x - bone.data.scaleX) * alpha;
1042
- bone.scaleY = (y - bone.data.scaleY) * alpha;
1041
+ bone.scaleX += (x - bone.data.scaleX) * alpha;
1042
+ bone.scaleY += (y - bone.data.scaleY) * alpha;
1043
1043
  }
1044
1044
  } else {
1045
1045
  switch (blend) {
@@ -1105,7 +1105,7 @@ var spine = (() => {
1105
1105
  bone.scaleX = bx + (Math.abs(x) * MathUtils.signum(bx) - bx) * alpha;
1106
1106
  break;
1107
1107
  case 3:
1108
- bone.scaleX = (x - bone.data.scaleX) * alpha;
1108
+ bone.scaleX += (x - bone.data.scaleX) * alpha;
1109
1109
  }
1110
1110
  } else {
1111
1111
  switch (blend) {
@@ -1166,7 +1166,7 @@ var spine = (() => {
1166
1166
  bone.scaleY = by + (Math.abs(y) * MathUtils.signum(by) - by) * alpha;
1167
1167
  break;
1168
1168
  case 3:
1169
- bone.scaleY = (y - bone.data.scaleY) * alpha;
1169
+ bone.scaleY += (y - bone.data.scaleY) * alpha;
1170
1170
  }
1171
1171
  } else {
1172
1172
  switch (blend) {