@cornerstonejs/tools 1.44.1 → 1.44.3

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.44.1",
3
+ "version": "1.44.3",
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.44.1",
32
+ "@cornerstonejs/core": "^1.44.3",
33
33
  "comlink": "^4.4.1",
34
34
  "lodash.clonedeep": "4.5.0",
35
35
  "lodash.get": "^4.4.2"
@@ -53,5 +53,5 @@
53
53
  "type": "individual",
54
54
  "url": "https://ohif.org/donate"
55
55
  },
56
- "gitHead": "0cc7cbccd489e63dbea1a855fbb72d87792b6f89"
56
+ "gitHead": "2d4cc217d2f58d5089945e6f5f651cbeda3dd85f"
57
57
  }
@@ -139,7 +139,7 @@ class ScaleOverlayTool extends AnnotationDisplayTool {
139
139
 
140
140
  addAnnotation(newAnnotation, viewport.element);
141
141
  annotation = newAnnotation;
142
- } else if (this.editData.annotation.data.viewportId == viewport.id) {
142
+ } else if (this.editData.annotation && this.editData.annotation.data.viewportId == viewport.id) {
143
143
  this.editData.annotation.data.handles.points =
144
144
  viewportCanvasCornersInWorld;
145
145
  this.editData.annotation.data.viewportId = viewport.id;
@@ -25,6 +25,7 @@ import { getSphereBoundsInfo } from './getSphereBoundsInfo';
25
25
  import scroll from './scroll';
26
26
  import { pointToString } from './pointToString';
27
27
  import annotationFrameRange from './annotationFrameRange';
28
+ import pointInSurroundingSphereCallback from './pointInSurroundingSphereCallback';
28
29
 
29
30
  // name spaces
30
31
  import * as contours from './contours';
@@ -75,6 +76,7 @@ export {
75
76
  getAnnotationNearPoint,
76
77
  getAnnotationNearPointOnEnabledElement,
77
78
  jumpToSlice,
79
+ pointInSurroundingSphereCallback,
78
80
  viewport,
79
81
  cine,
80
82
  clip,