@cornerstonejs/tools 1.47.3 → 1.47.4
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/store/SynchronizerManager/Synchronizer.js +3 -2
- package/dist/cjs/store/SynchronizerManager/Synchronizer.js.map +1 -1
- package/dist/esm/store/SynchronizerManager/Synchronizer.js +3 -2
- package/dist/esm/store/SynchronizerManager/Synchronizer.js.map +1 -1
- package/dist/types/store/SynchronizerManager/Synchronizer.d.ts.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/store/SynchronizerManager/Synchronizer.ts +3 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/tools",
|
|
3
|
-
"version": "1.47.
|
|
3
|
+
"version": "1.47.4",
|
|
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.47.
|
|
32
|
+
"@cornerstonejs/core": "^1.47.4",
|
|
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": "659f9ca5a410b3e915b0ac95c61765cfd061be8d"
|
|
57
57
|
}
|
|
@@ -319,15 +319,14 @@ class Synchronizer {
|
|
|
319
319
|
};
|
|
320
320
|
|
|
321
321
|
viewports.forEach(function (vUid) {
|
|
322
|
-
const renderingEngine = getRenderingEngine(
|
|
323
|
-
vUid.renderingEngineId
|
|
324
|
-
).getViewport(vUid.viewportId);
|
|
322
|
+
const renderingEngine = getRenderingEngine(vUid.renderingEngineId);
|
|
325
323
|
|
|
326
324
|
if (!renderingEngine) {
|
|
327
325
|
return;
|
|
328
326
|
}
|
|
329
327
|
|
|
330
|
-
const
|
|
328
|
+
const viewport = renderingEngine.getViewport(vUid.viewportId);
|
|
329
|
+
const { element } = viewport;
|
|
331
330
|
|
|
332
331
|
element.removeEventListener(
|
|
333
332
|
Enums.Events.ELEMENT_DISABLED,
|