@cornerstonejs/tools 4.8.3 → 4.8.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.
|
@@ -4,7 +4,6 @@ import { removeAnnotation } from '../../stateManagement/annotation/annotationSta
|
|
|
4
4
|
import { drawHandles as drawHandlesSvg, drawLinkedTextBox as drawLinkedTextBoxSvg, } from '../../drawingSvg';
|
|
5
5
|
import { state } from '../../store/state';
|
|
6
6
|
import { Events, KeyboardBindings, ChangeTypes } from '../../enums';
|
|
7
|
-
import { resetElementCursor } from '../../cursors/elementCursor';
|
|
8
7
|
import getMouseModifierKey from '../../eventDispatchers/shared/getMouseModifier';
|
|
9
8
|
import * as math from '../../utilities/math';
|
|
10
9
|
import triggerAnnotationRenderForViewportIds from '../../utilities/triggerAnnotationRenderForViewportIds';
|
|
@@ -119,7 +118,6 @@ class LivewireContourTool extends ContourSegmentationBaseTool {
|
|
|
119
118
|
data.handles.activeHandleIndex = null;
|
|
120
119
|
this._deactivateModify(element);
|
|
121
120
|
this._deactivateDraw(element);
|
|
122
|
-
resetElementCursor(element);
|
|
123
121
|
const enabledElement = getEnabledElement(element);
|
|
124
122
|
if ((this.isHandleOutsideImage &&
|
|
125
123
|
this.configuration.preventHandleOutsideImage) ||
|
|
@@ -267,7 +265,6 @@ class LivewireContourTool extends ContourSegmentationBaseTool {
|
|
|
267
265
|
this.isDrawing = false;
|
|
268
266
|
this._deactivateDraw(element);
|
|
269
267
|
this._deactivateModify(element);
|
|
270
|
-
resetElementCursor(element);
|
|
271
268
|
const { annotation, viewportIdsToRender, newAnnotation } = this.editData;
|
|
272
269
|
if (newAnnotation) {
|
|
273
270
|
removeAnnotation(annotation.annotationUID);
|
|
@@ -4,7 +4,6 @@ import { addAnnotation, getChildAnnotations, removeAnnotation, } from '../../sta
|
|
|
4
4
|
import { drawHandles as drawHandlesSvg, drawPolyline as drawPolylineSvg, drawLinkedTextBox as drawLinkedTextBoxSvg, } from '../../drawingSvg';
|
|
5
5
|
import { state } from '../../store/state';
|
|
6
6
|
import { Events, MouseBindings, KeyboardBindings, ChangeTypes, } from '../../enums';
|
|
7
|
-
import { resetElementCursor } from '../../cursors/elementCursor';
|
|
8
7
|
import * as math from '../../utilities/math';
|
|
9
8
|
import throttle from '../../utilities/throttle';
|
|
10
9
|
import { getViewportIdsWithToolToRender } from '../../utilities/viewportFilters';
|
|
@@ -170,7 +169,6 @@ class SplineROITool extends ContourSegmentationBaseTool {
|
|
|
170
169
|
data.handles.activeHandleIndex = null;
|
|
171
170
|
this._deactivateModify(element);
|
|
172
171
|
this._deactivateDraw(element);
|
|
173
|
-
resetElementCursor(element);
|
|
174
172
|
const enabledElement = getEnabledElement(element);
|
|
175
173
|
const image = this.getTargetImageData(this.getTargetId(enabledElement.viewport));
|
|
176
174
|
const { imageData, dimensions } = image;
|
|
@@ -559,7 +557,6 @@ class SplineROITool extends ContourSegmentationBaseTool {
|
|
|
559
557
|
this.isDrawing = false;
|
|
560
558
|
this._deactivateDraw(element);
|
|
561
559
|
this._deactivateModify(element);
|
|
562
|
-
resetElementCursor(element);
|
|
563
560
|
const { annotation, viewportIdsToRender, newAnnotation } = this.editData;
|
|
564
561
|
if (newAnnotation) {
|
|
565
562
|
removeAnnotation(annotation.annotationUID);
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "4.8.
|
|
1
|
+
export declare const version = "4.8.4";
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '4.8.
|
|
1
|
+
export const version = '4.8.4';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/tools",
|
|
3
|
-
"version": "4.8.
|
|
3
|
+
"version": "4.8.4",
|
|
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.8.
|
|
111
|
+
"@cornerstonejs/core": "4.8.4",
|
|
112
112
|
"@kitware/vtk.js": "32.12.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": "
|
|
130
|
+
"gitHead": "b0f9014b28fdbc7cdeac242badef0c6c522fce7f"
|
|
131
131
|
}
|