@cornerstonejs/tools 4.6.3 → 4.7.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.
@@ -109,6 +109,7 @@ class HeightTool extends AnnotationTool {
109
109
  removeAnnotation(annotation.annotationUID);
110
110
  }
111
111
  triggerAnnotationRenderForViewportIds(viewportIdsToRender);
112
+ this.doneEditMemo();
112
113
  if (newAnnotation) {
113
114
  triggerAnnotationCompleted(annotation);
114
115
  }
@@ -119,8 +120,9 @@ class HeightTool extends AnnotationTool {
119
120
  this.isDrawing = true;
120
121
  const eventDetail = evt.detail;
121
122
  const { element } = eventDetail;
122
- const { annotation, viewportIdsToRender, handleIndex, movingTextBox } = this.editData;
123
+ const { annotation, viewportIdsToRender, handleIndex, movingTextBox, newAnnotation } = this.editData;
123
124
  const { data } = annotation;
125
+ this.createMemo(element, annotation, { newAnnotation });
124
126
  if (movingTextBox) {
125
127
  const { deltaPoints } = eventDetail;
126
128
  const worldPosDelta = deltaPoints.world;
@@ -1 +1 @@
1
- export declare const version = "4.6.3";
1
+ export declare const version = "4.7.0";
@@ -1 +1 @@
1
- export const version = '4.6.3';
1
+ export const version = '4.7.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/tools",
3
- "version": "4.6.3",
3
+ "version": "4.7.0",
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.1.0"
109
109
  },
110
110
  "peerDependencies": {
111
- "@cornerstonejs/core": "4.6.3",
111
+ "@cornerstonejs/core": "4.7.0",
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": "70ff2626164aa31aae20c7dc792c52ac053d74b1"
130
+ "gitHead": "ed855a5de3ae8111017b8498c4c829d6597c2af7"
131
131
  }