@cornerstonejs/tools 1.82.3 → 1.82.5

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/tools",
3
- "version": "1.82.3",
3
+ "version": "1.82.5",
4
4
  "description": "Cornerstone3D Tools",
5
5
  "main": "src/index.ts",
6
6
  "types": "dist/types/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "webpack:watch": "webpack --mode development --progress --watch --config ./.webpack/webpack.dev.js"
30
30
  },
31
31
  "dependencies": {
32
- "@cornerstonejs/core": "^1.82.3",
32
+ "@cornerstonejs/core": "^1.82.5",
33
33
  "@icr/polyseg-wasm": "0.4.0",
34
34
  "@types/offscreencanvas": "2019.7.3",
35
35
  "comlink": "^4.4.1",
@@ -59,5 +59,5 @@
59
59
  "type": "individual",
60
60
  "url": "https://ohif.org/donate"
61
61
  },
62
- "gitHead": "87cd4dcfb92d25a5ef71dd14975da85a9967b06e"
62
+ "gitHead": "d8f12e46d478b251c5515b3ee960629dd4e5d6e2"
63
63
  }
@@ -54,8 +54,8 @@ class OrientationMarkerTool extends BaseTool {
54
54
  overlayConfiguration: {
55
55
  [OrientationMarkerTool.OVERLAY_MARKER_TYPES.ANNOTATED_CUBE]: {
56
56
  faceProperties: {
57
- xPlus: { text: 'R', faceColor: '#ffff00', faceRotation: 90 },
58
- xMinus: { text: 'L', faceColor: '#ffff00', faceRotation: 270 },
57
+ xPlus: { text: 'L', faceColor: '#ffff00', faceRotation: 90 },
58
+ xMinus: { text: 'R', faceColor: '#ffff00', faceRotation: 270 },
59
59
  yPlus: {
60
60
  text: 'P',
61
61
  faceColor: '#00ffff',
@@ -23,8 +23,11 @@ class ZoomTool extends BaseTool {
23
23
  configuration: {
24
24
  // whether zoom to the center of the image OR zoom to the mouse position
25
25
  zoomToCenter: false,
26
- minZoomScale: 0.1,
27
- maxZoomScale: 30,
26
+ // Use large ranges to allow for microscopy viewing.
27
+ // TODO: Change the definitions of these to be relative to 1:1 pixel and
28
+ // relative to scale to fit sizing
29
+ minZoomScale: 0.001,
30
+ maxZoomScale: 3000,
28
31
  pinchToZoom: true,
29
32
  pan: true,
30
33
  invert: false,