@cornerstonejs/tools 1.49.1 → 1.49.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.
- package/dist/cjs/tools/annotation/SplineROITool.js +1 -1
- package/dist/cjs/tools/annotation/SplineROITool.js.map +1 -1
- package/dist/esm/tools/annotation/SplineROITool.js +1 -1
- package/dist/esm/tools/annotation/SplineROITool.js.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/SplineROITool.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/tools",
|
|
3
|
-
"version": "1.49.
|
|
3
|
+
"version": "1.49.2",
|
|
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.49.
|
|
32
|
+
"@cornerstonejs/core": "^1.49.2",
|
|
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": "c405ce8a57e5e3d67fab7f1b02e105a6a689ae93"
|
|
57
57
|
}
|
|
@@ -813,7 +813,7 @@ class SplineROITool extends ContourSegmentationBaseTool {
|
|
|
813
813
|
const data = annotation.data;
|
|
814
814
|
const targetId = this.getTargetId(viewport);
|
|
815
815
|
|
|
816
|
-
if (!data.spline.closed || !textboxStyle.visibility) {
|
|
816
|
+
if (!data.spline.instance.closed || !textboxStyle.visibility) {
|
|
817
817
|
return;
|
|
818
818
|
}
|
|
819
819
|
|