@cornerstonejs/core 0.42.1 → 0.42.2

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": "0.42.1",
3
+ "version": "0.42.2",
4
4
  "description": "",
5
5
  "main": "dist/umd/index.js",
6
6
  "types": "dist/esm/index.d.ts",
@@ -51,5 +51,5 @@
51
51
  "type": "individual",
52
52
  "url": "https://ohif.org/donate"
53
53
  },
54
- "gitHead": "bf2fa6e9424f88d324d0226bb0a8921d9bc38bd7"
54
+ "gitHead": "d0aedd7f51d2f9e8a5cda8411862190b1cbda90f"
55
55
  }
@@ -1537,8 +1537,8 @@ class StackViewport extends Viewport implements IStackViewport {
1537
1537
  const dataType = imageData.getPointData().getScalars().getDataType();
1538
1538
 
1539
1539
  // using epsilon comparison for float numbers comparison.
1540
- const isSameXSpacing = isEqual(xSpacing, image.rowPixelSpacing);
1541
- const isSameYSpacing = isEqual(ySpacing, image.columnPixelSpacing);
1540
+ const isSameXSpacing = isEqual(xSpacing, image.columnPixelSpacing);
1541
+ const isSameYSpacing = isEqual(ySpacing, image.rowPixelSpacing);
1542
1542
 
1543
1543
  // using spacing, size, and direction only for now
1544
1544
  return (