@cornerstonejs/core 3.20.2 → 3.21.1
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.
|
@@ -334,14 +334,16 @@ class Viewport {
|
|
|
334
334
|
return;
|
|
335
335
|
}
|
|
336
336
|
resetCameraNoEvent() {
|
|
337
|
+
const savedValue = this._suppressCameraModifiedEvents;
|
|
337
338
|
this._suppressCameraModifiedEvents = true;
|
|
338
339
|
this.resetCamera();
|
|
339
|
-
this._suppressCameraModifiedEvents =
|
|
340
|
+
this._suppressCameraModifiedEvents = savedValue;
|
|
340
341
|
}
|
|
341
342
|
setCameraNoEvent(camera) {
|
|
343
|
+
const savedValue = this._suppressCameraModifiedEvents;
|
|
342
344
|
this._suppressCameraModifiedEvents = true;
|
|
343
345
|
this.setCamera(camera);
|
|
344
|
-
this._suppressCameraModifiedEvents =
|
|
346
|
+
this._suppressCameraModifiedEvents = savedValue;
|
|
345
347
|
}
|
|
346
348
|
_getViewImageDataIntersections(imageData, focalPoint, normal) {
|
|
347
349
|
const A = normal[0];
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "3.
|
|
1
|
+
export declare const version = "3.21.1";
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '3.
|
|
1
|
+
export const version = '3.21.1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.21.1",
|
|
4
4
|
"description": "Cornerstone3D Core",
|
|
5
5
|
"module": "./dist/esm/index.js",
|
|
6
6
|
"types": "./dist/esm/index.d.ts",
|
|
@@ -97,5 +97,5 @@
|
|
|
97
97
|
"type": "individual",
|
|
98
98
|
"url": "https://ohif.org/donate"
|
|
99
99
|
},
|
|
100
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "0f1548c39f1fd60af41bfa458f8402850a7fcb12"
|
|
101
101
|
}
|