@cornerstonejs/tools 3.10.3 → 3.10.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.
@@ -167,6 +167,7 @@ class AngleTool extends AnnotationTool {
167
167
  removeAnnotation(annotation.annotationUID);
168
168
  }
169
169
  triggerAnnotationRenderForViewportIds(viewportIdsToRender);
170
+ this.doneEditMemo();
170
171
  if (newAnnotation) {
171
172
  triggerAnnotationCompleted(annotation);
172
173
  }
@@ -177,8 +178,9 @@ class AngleTool extends AnnotationTool {
177
178
  this.isDrawing = true;
178
179
  const eventDetail = evt.detail;
179
180
  const { element } = eventDetail;
180
- const { annotation, viewportIdsToRender, handleIndex, movingTextBox } = this.editData;
181
+ const { annotation, viewportIdsToRender, handleIndex, movingTextBox, newAnnotation, } = this.editData;
181
182
  const { data } = annotation;
183
+ this.createMemo(element, annotation, { newAnnotation });
182
184
  if (movingTextBox) {
183
185
  const { deltaPoints } = eventDetail;
184
186
  const worldPosDelta = deltaPoints.world;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/tools",
3
- "version": "3.10.3",
3
+ "version": "3.10.5",
4
4
  "description": "Cornerstone3D Tools",
5
5
  "types": "./dist/esm/index.d.ts",
6
6
  "module": "./dist/esm/index.js",
@@ -103,7 +103,7 @@
103
103
  "canvas": "^3.1.0"
104
104
  },
105
105
  "peerDependencies": {
106
- "@cornerstonejs/core": "^3.10.3",
106
+ "@cornerstonejs/core": "^3.10.5",
107
107
  "@kitware/vtk.js": "32.12.1",
108
108
  "@types/d3-array": "^3.0.4",
109
109
  "@types/d3-interpolate": "^3.0.1",
@@ -122,5 +122,5 @@
122
122
  "type": "individual",
123
123
  "url": "https://ohif.org/donate"
124
124
  },
125
- "gitHead": "94a95f19ad882fdc5da23e67d7a58faee4c73934"
125
+ "gitHead": "eb9b5531cbe65e3f132228e734282b930def3811"
126
126
  }