@cornerstonejs/tools 4.15.8 → 4.15.9

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.
@@ -24,6 +24,7 @@ class SculptorTool extends BaseTool {
24
24
  ],
25
25
  toolShape: 'circle',
26
26
  referencedToolName: 'PlanarFreehandROI',
27
+ updateCursorSize: 'dynamic',
27
28
  },
28
29
  }) {
29
30
  super(toolProps, defaultToolProps);
@@ -336,7 +337,9 @@ class SculptorTool extends BaseTool {
336
337
  else {
337
338
  const cursorShape = this.registeredShapes.get(this.selectedShape);
338
339
  const canvasCoords = eventData.currentPoints.canvas;
339
- cursorShape.updateToolSize(canvasCoords, viewport, activeAnnotation);
340
+ if (this.configuration.updateCursorSize === 'dynamic') {
341
+ cursorShape.updateToolSize(canvasCoords, viewport, activeAnnotation);
342
+ }
340
343
  }
341
344
  triggerAnnotationRenderForViewportIds(this.commonData.viewportIdsToRender);
342
345
  }
@@ -1 +1 @@
1
- export declare const version = "4.15.8";
1
+ export declare const version = "4.15.9";
@@ -1 +1 @@
1
- export const version = '4.15.8';
1
+ export const version = '4.15.9';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/tools",
3
- "version": "4.15.8",
3
+ "version": "4.15.9",
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.2.0"
109
109
  },
110
110
  "peerDependencies": {
111
- "@cornerstonejs/core": "4.15.8",
111
+ "@cornerstonejs/core": "4.15.9",
112
112
  "@kitware/vtk.js": "34.15.1",
113
113
  "@types/d3-array": "3.2.1",
114
114
  "@types/d3-interpolate": "3.0.4",
@@ -127,5 +127,5 @@
127
127
  "type": "individual",
128
128
  "url": "https://ohif.org/donate"
129
129
  },
130
- "gitHead": "eb1e260b39ac3a3511c531f58e7e0e5cecdec032"
130
+ "gitHead": "a9494c75f3e1405ffab86b48e16b77fcf5caf330"
131
131
  }