@cornerstonejs/core 3.8.0 → 3.8.1

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.
@@ -402,7 +402,6 @@ class Viewport {
402
402
  this.setZoom(this.insetImageMultiplier * zoom, false);
403
403
  }
404
404
  if (imageCanvasPoint) {
405
- console.log('Starting pan update zoom=', zoom);
406
405
  const { imagePoint, canvasPoint = imagePoint || [0.5, 0.5] } = imageCanvasPoint;
407
406
  const [canvasX, canvasY] = canvasPoint;
408
407
  const canvasPanX = canvasWidth * (canvasX - 0.5);
@@ -414,7 +413,6 @@ class Viewport {
414
413
  const newPositionX = imagePanX + canvasPanX;
415
414
  const newPositionY = imagePanY + canvasPanY;
416
415
  const deltaPoint2 = [newPositionX, newPositionY];
417
- console.log('delta point', newPositionX, this.getPan()[0], imagePanX, canvasPanX);
418
416
  vec2.add(deltaPoint2, deltaPoint2, this.getPan());
419
417
  this.setPan(deltaPoint2, false);
420
418
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "3.8.0",
3
+ "version": "3.8.1",
4
4
  "description": "Cornerstone3D Core",
5
5
  "module": "./dist/esm/index.js",
6
6
  "types": "./dist/esm/index.d.ts",
@@ -91,5 +91,5 @@
91
91
  "type": "individual",
92
92
  "url": "https://ohif.org/donate"
93
93
  },
94
- "gitHead": "bc351a2bae5a5b2f93691a384222b71b26d5c263"
94
+ "gitHead": "1f45d352ecb6e239cb418f085cdabeca2a4520a9"
95
95
  }