@viji-dev/core 0.3.7 → 0.3.8

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.
@@ -446,8 +446,8 @@ class InteractionSystem {
446
446
  this.mouseState.rightButton = (data.buttons & 2) !== 0;
447
447
  this.mouseState.middleButton = (data.buttons & 4) !== 0;
448
448
  this.mouseState.isPressed = data.buttons > 0;
449
- this.mouseState.deltaX += data.deltaX || 0;
450
- this.mouseState.deltaY += data.deltaY || 0;
449
+ this.mouseState.deltaX = data.deltaX || 0;
450
+ this.mouseState.deltaY = data.deltaY || 0;
451
451
  this.mouseState.wheelDelta += data.wheelDeltaY || 0;
452
452
  this.mouseState.wheelX += data.wheelDeltaX || 0;
453
453
  this.mouseState.wheelY += data.wheelDeltaY || 0;
@@ -4359,4 +4359,4 @@ async function setSceneCode(sceneCode) {
4359
4359
  }
4360
4360
  }
4361
4361
  self.setSceneCode = setSceneCode;
4362
- //# sourceMappingURL=viji.worker-CariIqqP.js.map
4362
+ //# sourceMappingURL=viji.worker-D06up_1l.js.map