ui-process-h5 1.1.13 → 1.1.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ui-process-h5",
3
- "version": "1.1.13",
3
+ "version": "1.1.14",
4
4
  "description": "> app端 流程插件",
5
5
  "main": "./ui-process-h5.umd.cjs",
6
6
  "style": "./style.css",
@@ -4428,7 +4428,7 @@ const Su = /* @__PURE__ */ function() {
4428
4428
  "\u79FB\u52A8",
4429
4429
  t.touches[0].clientX - this.startX,
4430
4430
  t.touches[0].clientY - this.startY
4431
- ), this.moveX = `calc(${t.touches[0].clientX - this.startX}px - 50%)`, this.moveY = `calc(${t.touches[0].clientY - this.startY}px - 50%)`;
4431
+ ), this.moveX = `calc(${(t.touches[0].clientX - this.startX) / this.displacement.scale}px - 50%)`, this.moveY = `calc(${(t.touches[0].clientY - this.startY) / this.displacement.scale}px - 50%)`;
4432
4432
  },
4433
4433
  getDistance(t, i) {
4434
4434
  return Math.hypot(i.x - t.x, i.y - t.y);