@evercam/ui 0.0.63-preview-image-player-c554ca838 → 0.0.63-preview-image-player-de11fe3d8
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/README.md +1 -0
- package/dist/index.mjs +6 -12
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -9101,7 +9101,10 @@ const Pa = Q.extend({
|
|
|
9101
9101
|
this.left += e, this.top += r, this.applyBoundsCorrection(), this.panStart = { x: t.clientX, y: t.clientY }, this.updateTransform();
|
|
9102
9102
|
},
|
|
9103
9103
|
applyBoundsCorrection() {
|
|
9104
|
-
const t = this.$refs.container, e = this.$refs.content, r = t.getBoundingClientRect(), n = e.getBoundingClientRect()
|
|
9104
|
+
const t = this.$refs.container, e = this.$refs.content, r = t.getBoundingClientRect(), n = e.getBoundingClientRect();
|
|
9105
|
+
if (!r || !n)
|
|
9106
|
+
return;
|
|
9107
|
+
const [o, c, i, p] = [
|
|
9105
9108
|
r.top - n.top,
|
|
9106
9109
|
n.right - r.right,
|
|
9107
9110
|
n.bottom - r.bottom,
|
|
@@ -9172,7 +9175,7 @@ var Oa = function() {
|
|
|
9172
9175
|
za,
|
|
9173
9176
|
!1,
|
|
9174
9177
|
null,
|
|
9175
|
-
"
|
|
9178
|
+
"8c88515a",
|
|
9176
9179
|
null,
|
|
9177
9180
|
null
|
|
9178
9181
|
);
|
|
@@ -14314,16 +14317,7 @@ const V3 = Y3.exports, X3 = Q.extend({
|
|
|
14314
14317
|
this.image = (t = this.$refs) == null ? void 0 : t.image;
|
|
14315
14318
|
},
|
|
14316
14319
|
incrementCurrentFrameIndex() {
|
|
14317
|
-
|
|
14318
|
-
frameIndex: this.frameIndex,
|
|
14319
|
-
frame: this.frames[this.frameIndex]
|
|
14320
|
-
}), this.frames[this.frameIndex + 1] && (this.$emit("frame-index-change", this.frameIndex + 1), this.frames[this.frameIndex] ? (console.log("timestamp changed: incrementCurrentFrameIndex", {
|
|
14321
|
-
frameIndex: this.frameIndex,
|
|
14322
|
-
frame: this.frames[this.frameIndex],
|
|
14323
|
-
timestamp: this.frames[this.frameIndex].timestamp
|
|
14324
|
-
}), this.$emit("timestamp-change", this.frames[this.frameIndex].timestamp), this.latestValidSnapshotTimestamp = this.frames[this.frameIndex].timestamp) : (console.log("timestamp changed: incrementCurrentFrameIndex", {
|
|
14325
|
-
timestamp: this.latestValidSnapshotTimestamp
|
|
14326
|
-
}), this.$emit("timestamp-change", this.latestValidSnapshotTimestamp)));
|
|
14320
|
+
this.frames[this.frameIndex + 1] && (this.$emit("frame-index-change", this.frameIndex + 1), this.$emit("timestamp-change", this.frames[this.frameIndex].timestamp));
|
|
14327
14321
|
},
|
|
14328
14322
|
setAspectRatio() {
|
|
14329
14323
|
var e, r, n, o;
|