@cornerstonejs/tools 3.20.1 → 3.20.2

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.
@@ -376,7 +376,8 @@ class RectangleROITool extends AnnotationTool {
376
376
  }
377
377
  if (!isAnnotationLocked(annotationUID) &&
378
378
  !this.editData &&
379
- activeHandleIndex !== null) {
379
+ activeHandleIndex !== null &&
380
+ activeHandleIndex !== undefined) {
380
381
  activeHandleCanvasCoords = [canvasCoordinates[activeHandleIndex]];
381
382
  }
382
383
  if (activeHandleCanvasCoords) {
@@ -1 +1 @@
1
- export declare const version = "3.20.1";
1
+ export declare const version = "3.20.2";
@@ -1 +1 @@
1
- export const version = '3.20.1';
1
+ export const version = '3.20.2';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/tools",
3
- "version": "3.20.1",
3
+ "version": "3.20.2",
4
4
  "description": "Cornerstone3D Tools",
5
5
  "types": "./dist/esm/index.d.ts",
6
6
  "module": "./dist/esm/index.js",
@@ -108,7 +108,7 @@
108
108
  "canvas": "^3.1.0"
109
109
  },
110
110
  "peerDependencies": {
111
- "@cornerstonejs/core": "^3.20.1",
111
+ "@cornerstonejs/core": "^3.20.2",
112
112
  "@kitware/vtk.js": "32.12.1",
113
113
  "@types/d3-array": "^3.0.4",
114
114
  "@types/d3-interpolate": "^3.0.1",
@@ -127,5 +127,5 @@
127
127
  "type": "individual",
128
128
  "url": "https://ohif.org/donate"
129
129
  },
130
- "gitHead": "1c22473405883f3cd0dada48c7a2edd3b679db2f"
130
+ "gitHead": "e361cbeb9a1b386d4cefeecb49bcdf6c2b12285d"
131
131
  }