@cornerstonejs/core 2.19.4 → 2.19.6

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.
@@ -908,7 +908,9 @@ class Viewport {
908
908
  if (rotation >= 0) {
909
909
  this.setRotation(rotation);
910
910
  }
911
- this.flip({ flipHorizontal, flipVertical });
911
+ if (flipHorizontal || flipVertical) {
912
+ this.flip({ flipHorizontal, flipVertical });
913
+ }
912
914
  }
913
915
  _getCorners(bounds) {
914
916
  return [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "2.19.4",
3
+ "version": "2.19.6",
4
4
  "description": "Cornerstone3D Core",
5
5
  "module": "./dist/esm/index.js",
6
6
  "types": "./dist/esm/index.d.ts",
@@ -82,5 +82,5 @@
82
82
  "type": "individual",
83
83
  "url": "https://ohif.org/donate"
84
84
  },
85
- "gitHead": "eb85898dc4c8be4c363dc62dfb3c9dce4235dd55"
85
+ "gitHead": "85d11d53bc3fefb1fd5653be792227a7fa85aecb"
86
86
  }