@cornerstonejs/core 4.3.11 → 4.3.12

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.
@@ -848,7 +848,7 @@ class StackViewport extends Viewport {
848
848
  }
849
849
  getPanCPU() {
850
850
  const { viewport } = this._cpuFallbackEnabledElement;
851
- return [viewport.translation.x, viewport.translation.y];
851
+ return [viewport.translation?.x ?? 0, viewport.translation?.y ?? 0];
852
852
  }
853
853
  setPanCPU(pan) {
854
854
  const camera = this.getCameraCPU();
@@ -1 +1 @@
1
- export declare const version = "4.3.11";
1
+ export declare const version = "4.3.12";
@@ -1 +1 @@
1
- export const version = '4.3.11';
1
+ export const version = '4.3.12';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "4.3.11",
3
+ "version": "4.3.12",
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": "1e133465acdbfed8c69061a85205913c9cb85759"
100
+ "gitHead": "b8e872f1a0dad71497f0702c5f0e0fe02af5c077"
101
101
  }