@cornerstonejs/core 1.37.1 → 1.38.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "1.37.1",
3
+ "version": "1.38.1",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "types": "dist/types/index.d.ts",
@@ -47,5 +47,5 @@
47
47
  "type": "individual",
48
48
  "url": "https://ohif.org/donate"
49
49
  },
50
- "gitHead": "81e281d066bc2d92c2b7eb7cebbaae49da439fa8"
50
+ "gitHead": "1b7cb02f6c11935850f80a5382be21dd8aaab4d5"
51
51
  }
@@ -803,6 +803,10 @@ class Viewport implements IViewport {
803
803
  this.setInitialCamera(modifiedCamera);
804
804
  }
805
805
 
806
+ if (resetZoom) {
807
+ this.setZoom(1, storeAsInitialCamera);
808
+ }
809
+
806
810
  const RESET_CAMERA_EVENT = {
807
811
  type: 'ResetCameraEvent',
808
812
  renderer,