ui-process-h5 1.1.13 → 1.1.15
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
package/v2/ui-process-h5.js
CHANGED
|
@@ -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);
|
|
@@ -13587,7 +13587,7 @@ const s0 = /* @__PURE__ */ function() {
|
|
|
13587
13587
|
},
|
|
13588
13588
|
isDocument: {
|
|
13589
13589
|
type: Boolean,
|
|
13590
|
-
default: !
|
|
13590
|
+
default: !1
|
|
13591
13591
|
},
|
|
13592
13592
|
restartData: {
|
|
13593
13593
|
type: Object,
|