@cornerstonejs/tools 2.15.1 → 2.15.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.
@@ -22,6 +22,7 @@ declare class ProbeTool extends AnnotationTool {
22
22
  shadow: boolean;
23
23
  preventHandleOutsideImage: boolean;
24
24
  getTextLines: typeof defaultGetTextLines;
25
+ handleRadius: string;
25
26
  };
26
27
  };
27
28
  constructor(toolProps?: PublicToolProps, defaultToolProps?: any);
@@ -20,6 +20,7 @@ class ProbeTool extends AnnotationTool {
20
20
  shadow: true,
21
21
  preventHandleOutsideImage: false,
22
22
  getTextLines: defaultGetTextLines,
23
+ handleRadius: '6',
23
24
  },
24
25
  }; }
25
26
  constructor(toolProps = {}, defaultToolProps) {
@@ -204,7 +205,7 @@ class ProbeTool extends AnnotationTool {
204
205
  return renderStatus;
205
206
  }
206
207
  const handleGroupUID = '0';
207
- drawHandlesSvg(svgDrawingHelper, annotationUID, handleGroupUID, [canvasCoordinates], { color, lineWidth });
208
+ drawHandlesSvg(svgDrawingHelper, annotationUID, handleGroupUID, [canvasCoordinates], { color, lineWidth, handleRadius: this.configuration.handleRadius });
208
209
  renderStatus = true;
209
210
  const options = this.getLinkedTextBoxStyle(styleSpecifier, annotation);
210
211
  if (!options.visibility) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/tools",
3
- "version": "2.15.1",
3
+ "version": "2.15.2",
4
4
  "description": "Cornerstone3D Tools",
5
5
  "types": "./dist/esm/index.d.ts",
6
6
  "module": "./dist/esm/index.js",
@@ -104,7 +104,7 @@
104
104
  "canvas": "^2.11.2"
105
105
  },
106
106
  "peerDependencies": {
107
- "@cornerstonejs/core": "^2.15.1",
107
+ "@cornerstonejs/core": "^2.15.2",
108
108
  "@kitware/vtk.js": "32.9.0",
109
109
  "@types/d3-array": "^3.0.4",
110
110
  "@types/d3-interpolate": "^3.0.1",
@@ -123,5 +123,5 @@
123
123
  "type": "individual",
124
124
  "url": "https://ohif.org/donate"
125
125
  },
126
- "gitHead": "6247f60fdb23abe38b30d606b441176a0aefeab5"
126
+ "gitHead": "f645ce9bb396548d8ef772c8cb06a6c98d084aa7"
127
127
  }