viral-viewer-2 6.4.6 → 6.4.7

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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -42466,10 +42466,10 @@ class n3 {
42466
42466
  constructor(e, t, i, s, r = 2, a = 1, l, h) {
42467
42467
  this.viralViewerApi = e, this.scaleRatio = r, this.mixer = null, this.idleAnimation = null, this.walkAnimation = null, this.avatar = null, this.destination = null, this.isReady = !1, this.name = "", this.id = t3.generateRandomString(10), this.MOVEMENT_SPEED = 0.032, this.talkContent = "", l && (this.id = l), h && (this.name = h, this.nameDiv = document.createElement("div"), this.nameDiv.setAttribute(
42468
42468
  "style",
42469
- "position: absolute; top:0; left:0;transform: translateX(-50%); cursor-pointer:none; user-select: none; background-color:rgba(226, 230, 220,1); color:rgb(23, 49, 44); padding: 5px ; border-radius:5px; font-size:x-small"
42469
+ "position: absolute; top:0; left:0;transform: translateX(-50%); pointer-events: none; background-color:rgba(226, 230, 220,1); color:rgb(23, 49, 44); padding: 5px ; border-radius:5px; font-size:x-small"
42470
42470
  ), this.nameDiv.id = this.id, this.nameDiv.append(this.name), this.viralViewerApi.targetElement.appendChild(this.nameDiv)), this.chatDiv = document.createElement("div"), this.chatDiv.setAttribute(
42471
42471
  "style",
42472
- "position: absolute;display:none; top:0; left:0;transform: translateX(-50%); cursor-pointer:none; user-select: none; background-color:rgba(226, 230, 220,1); color:rgb(23, 49, 44); padding: 5px ; border-radius:5px; font-size:x-small"
42472
+ "position: absolute;display:none; top:0; left:0;transform: translate(-50%, -100%); pointer-events: none; background-color:rgba(226, 230, 220,1); color:rgb(23, 49, 44); padding: 5px ; border-radius:5px; font-size:x-small"
42473
42473
  ), this.viralViewerApi.targetElement.appendChild(this.chatDiv), this.MOVEMENT_SPEED = i3 * a, this.viralViewerApi.viralLoader.threeLoader.loadGLTF(
42474
42474
  t,
42475
42475
  (u) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "viral-viewer-2",
3
- "version": "6.4.6",
3
+ "version": "6.4.7",
4
4
  "description": "",
5
5
  "main": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",