@cornerstonejs/tools 0.67.3 → 0.67.4

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": "0.67.3",
3
+ "version": "0.67.4",
4
4
  "description": "Cornerstone3D Tools",
5
5
  "main": "dist/umd/index.js",
6
6
  "types": "dist/esm/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "webpack:watch": "webpack --mode development --progress --watch --config ./.webpack/webpack.dev.js"
27
27
  },
28
28
  "dependencies": {
29
- "@cornerstonejs/core": "^0.47.0",
29
+ "@cornerstonejs/core": "^0.47.1",
30
30
  "lodash.clonedeep": "4.5.0",
31
31
  "lodash.get": "^4.4.2"
32
32
  },
@@ -49,5 +49,5 @@
49
49
  "type": "individual",
50
50
  "url": "https://ohif.org/donate"
51
51
  },
52
- "gitHead": "2c2efd8536d4af3ede72a47bdab199efe67bb1d3"
52
+ "gitHead": "fe634bf0a19f588638aaa21d4bcbbc8df33897b3"
53
53
  }
@@ -15,11 +15,12 @@ function drawCircle(
15
15
  options = {},
16
16
  dataId = ''
17
17
  ): void {
18
- const { color, fill, width, lineWidth } = Object.assign(
18
+ const { color, fill, width, lineWidth, lineDash } = Object.assign(
19
19
  {
20
20
  color: 'dodgerblue',
21
21
  fill: 'transparent',
22
22
  width: '2',
23
+ lineDash: undefined,
23
24
  lineWidth: undefined,
24
25
  },
25
26
  options
@@ -40,6 +41,7 @@ function drawCircle(
40
41
  stroke: color,
41
42
  fill,
42
43
  'stroke-width': strokeWidth,
44
+ 'stroke-dasharray': lineDash,
43
45
  };
44
46
 
45
47
  if (existingCircleElement) {
@@ -189,8 +189,7 @@ abstract class AnnotationDisplayTool extends BaseTool {
189
189
  referencedImageId = utilities.getClosestImageId(
190
190
  imageVolume,
191
191
  worldPos,
192
- viewPlaneNormal,
193
- viewUp
192
+ viewPlaneNormal
194
193
  );
195
194
  }
196
195
 
@@ -109,8 +109,7 @@ class RectangleROIStartEndThresholdTool extends RectangleROITool {
109
109
  referencedImageId = csUtils.getClosestImageId(
110
110
  imageVolume,
111
111
  worldPos,
112
- viewPlaneNormal,
113
- viewUp
112
+ viewPlaneNormal
114
113
  );
115
114
  }
116
115
 
@@ -257,8 +256,7 @@ class RectangleROIStartEndThresholdTool extends RectangleROITool {
257
256
  const imageId = csUtils.getClosestImageId(
258
257
  imageVolume,
259
258
  RectanglePoints[0],
260
- viewPlaneNormal,
261
- metadata.viewUp
259
+ viewPlaneNormal
262
260
  );
263
261
  projectionPointsImageIds.push(imageId);
264
262
  }
@@ -95,8 +95,7 @@ class RectangleROIThresholdTool extends RectangleROITool {
95
95
  referencedImageId = csUtils.getClosestImageId(
96
96
  imageVolume,
97
97
  worldPos,
98
- viewPlaneNormal,
99
- viewUp
98
+ viewPlaneNormal
100
99
  );
101
100
  }
102
101