@cornerstonejs/core 3.9.2 → 3.9.3

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.
@@ -906,10 +906,11 @@ class Viewport {
906
906
  if (rotation >= 0) {
907
907
  this.setRotation(rotation);
908
908
  }
909
- if (flipHorizontal !== undefined) {
909
+ if (flipHorizontal !== undefined &&
910
+ flipHorizontal !== this.flipHorizontal) {
910
911
  this.flip({ flipHorizontal });
911
912
  }
912
- if (flipVertical !== undefined) {
913
+ if (flipVertical !== undefined && flipVertical !== this.flipVertical) {
913
914
  this.flip({ flipVertical });
914
915
  }
915
916
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "3.9.2",
3
+ "version": "3.9.3",
4
4
  "description": "Cornerstone3D Core",
5
5
  "module": "./dist/esm/index.js",
6
6
  "types": "./dist/esm/index.d.ts",
@@ -91,5 +91,5 @@
91
91
  "type": "individual",
92
92
  "url": "https://ohif.org/donate"
93
93
  },
94
- "gitHead": "7fdba50da86956a4c35e45dbdc21ab3b8decea72"
94
+ "gitHead": "2f5fb013e50c6ac1f9a683ed32e67c28227c6333"
95
95
  }