@cornerstonejs/core 2.1.9 → 2.1.10
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.
|
@@ -1725,14 +1725,10 @@ class StackViewport extends Viewport {
|
|
|
1725
1725
|
return true;
|
|
1726
1726
|
}
|
|
1727
1727
|
}
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
const referencedImageURI = imageIdToURI(referencedImageId);
|
|
1733
|
-
const endsWith = referencedImageId?.endsWith(imageURI);
|
|
1734
|
-
if (endsWith) {
|
|
1735
|
-
return endsWith;
|
|
1728
|
+
const { imageURI } = options;
|
|
1729
|
+
const currentImageURI = imageIdToURI(referencedImageId);
|
|
1730
|
+
if (!imageURI || currentImageURI === imageURI) {
|
|
1731
|
+
return true;
|
|
1736
1732
|
}
|
|
1737
1733
|
const { cameraFocalPoint } = viewRef;
|
|
1738
1734
|
if (options.asNearbyProjection && cameraFocalPoint) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/core",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/umd/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"type": "individual",
|
|
85
85
|
"url": "https://ohif.org/donate"
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "bc2cfc38e87991cc71b974af55a7b75186d8d6ca"
|
|
88
88
|
}
|