@cornerstonejs/tools 1.45.0 → 1.46.0
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/dist/cjs/tools/annotation/CircleROITool.js +1 -2
- package/dist/cjs/tools/annotation/CircleROITool.js.map +1 -1
- package/dist/esm/tools/annotation/CircleROITool.js +1 -2
- package/dist/esm/tools/annotation/CircleROITool.js.map +1 -1
- package/dist/types/tools/annotation/CircleROITool.d.ts.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +3 -3
- package/src/tools/annotation/CircleROITool.ts +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.46.0",
|
|
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.
|
|
32
|
+
"@cornerstonejs/core": "^1.46.0",
|
|
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": "
|
|
56
|
+
"gitHead": "935b1d61a7e9a5e668b51577d6491f026dcae6db"
|
|
57
57
|
}
|
|
@@ -168,7 +168,6 @@ class CircleROITool extends AnnotationTool {
|
|
|
168
168
|
const eventDetail = evt.detail;
|
|
169
169
|
const { currentPoints, element } = eventDetail;
|
|
170
170
|
const worldPos = currentPoints.world;
|
|
171
|
-
const canvasPos = currentPoints.canvas;
|
|
172
171
|
|
|
173
172
|
const enabledElement = getEnabledElement(element);
|
|
174
173
|
const { viewport, renderingEngine } = enabledElement;
|
|
@@ -1052,11 +1051,9 @@ function defaultGetTextLines(data, targetId): string[] {
|
|
|
1052
1051
|
stdDev,
|
|
1053
1052
|
max,
|
|
1054
1053
|
isEmptyArea,
|
|
1055
|
-
Modality,
|
|
1056
1054
|
areaUnit,
|
|
1057
1055
|
modalityUnit,
|
|
1058
1056
|
} = cachedVolumeStats;
|
|
1059
|
-
|
|
1060
1057
|
const textLines: string[] = [];
|
|
1061
1058
|
|
|
1062
1059
|
if (radius) {
|