@cornerstonejs/tools 0.67.6 → 0.101.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/tools",
3
- "version": "0.67.6",
3
+ "version": "0.101.0",
4
4
  "description": "Cornerstone3D Tools",
5
5
  "main": "dist/umd/index.js",
6
6
  "types": "dist/esm/index.d.ts",
@@ -26,7 +26,7 @@
26
26
  "webpack:watch": "webpack --mode development --progress --watch --config ./.webpack/webpack.dev.js"
27
27
  },
28
28
  "dependencies": {
29
- "@cornerstonejs/core": "^0.47.3",
29
+ "@cornerstonejs/core": "^0.101.0",
30
30
  "lodash.clonedeep": "4.5.0",
31
31
  "lodash.get": "^4.4.2"
32
32
  },
@@ -49,5 +49,5 @@
49
49
  "type": "individual",
50
50
  "url": "https://ohif.org/donate"
51
51
  },
52
- "gitHead": "cae60430345c18a30265eb66bd89131750d3ee40"
52
+ "gitHead": "186364d5ecda841550ca4928715a988ddf585c7e"
53
53
  }
@@ -729,7 +729,7 @@ class LengthTool extends AnnotationTool {
729
729
 
730
730
  const textLines = this._getTextLines(data, targetId);
731
731
 
732
- // Need to update to sync w/ annotation while unlinked/not moved
732
+ // Need to update to sync with annotation while unlinked/not moved
733
733
  if (!data.handles.textBox.hasMoved) {
734
734
  const canvasTextBoxCoords = getTextBoxCoordsCanvas(canvasCoordinates);
735
735
 
@@ -201,7 +201,7 @@ function _stopClip(element: HTMLDivElement, stopDynamicCine: boolean): void {
201
201
  _stopClipWithData(cineToolData);
202
202
  }
203
203
 
204
- if (stopDynamicCine) {
204
+ if (stopDynamicCine && viewport instanceof BaseVolumeViewport) {
205
205
  _stopDynamicVolumeCine(element);
206
206
  }
207
207
  }