@cornerstonejs/ai 4.5.3 → 4.5.5

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.
@@ -77,12 +77,14 @@ class LabelmapSlicePropagationTool extends LabelmapBaseTool {
77
77
  if (this.segmentAI) {
78
78
  this.segmentAI.enabled = false;
79
79
  }
80
+ this.rejectPreview();
80
81
  };
81
82
  this.onSetToolPassive = () => {
82
83
  this.configuration.enabled = false;
83
84
  if (this.segmentAI) {
84
85
  this.segmentAI.enabled = false;
85
86
  }
87
+ this.rejectPreview();
86
88
  };
87
89
  this.acceptPreview = () => {
88
90
  const { sourceViewportId } = this.configuration;
@@ -124,6 +124,7 @@ class MarkerLabelmapTool extends LabelmapBaseTool {
124
124
  if (this.segmentAI) {
125
125
  this.segmentAI.enabled = false;
126
126
  }
127
+ this.rejectPreview();
127
128
  };
128
129
  this.clearMarkers = () => {
129
130
  if (!this.segmentAI) {
@@ -1 +1 @@
1
- export declare const version = "4.5.3";
1
+ export declare const version = "4.5.5";
@@ -1 +1 @@
1
- export const version = '4.5.3';
1
+ export const version = '4.5.5';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/ai",
3
- "version": "4.5.3",
3
+ "version": "4.5.5",
4
4
  "description": "AI and ML Interfaces for Cornerstone3D",
5
5
  "files": [
6
6
  "dist"
@@ -61,8 +61,8 @@
61
61
  "onnxruntime-web": "1.17.1"
62
62
  },
63
63
  "peerDependencies": {
64
- "@cornerstonejs/core": "4.5.3",
65
- "@cornerstonejs/tools": "4.5.3"
64
+ "@cornerstonejs/core": "4.5.5",
65
+ "@cornerstonejs/tools": "4.5.5"
66
66
  },
67
- "gitHead": "cd5898def857a37fc3add224d8f4c5233fa6d568"
67
+ "gitHead": "81069bb99855572947ad7111bec99f4d66a3d79b"
68
68
  }