@cornerstonejs/core 3.31.10 → 3.31.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.
@@ -220,10 +220,8 @@ class ContextPoolRenderingEngine extends BaseRenderingEngine {
220
220
  _resizeOffScreenCanvasForViewport(viewportCanvas, offScreenCanvasContainer, offscreenMultiRenderWindow) {
221
221
  const offScreenCanvasWidth = viewportCanvas.width;
222
222
  const offScreenCanvasHeight = viewportCanvas.height;
223
- const tolerance = 2;
224
- const widthDiff = Math.abs(offScreenCanvasContainer.width - offScreenCanvasWidth);
225
- const heightDiff = Math.abs(offScreenCanvasContainer.height - offScreenCanvasHeight);
226
- if (widthDiff <= tolerance && heightDiff <= tolerance) {
223
+ if (offScreenCanvasContainer.height === offScreenCanvasHeight &&
224
+ offScreenCanvasContainer.width === offScreenCanvasWidth) {
227
225
  return;
228
226
  }
229
227
  offScreenCanvasContainer.width = offScreenCanvasWidth;
@@ -1 +1 @@
1
- export declare const version = "3.31.10";
1
+ export declare const version = "3.31.12";
@@ -1 +1 @@
1
- export const version = '3.31.10';
1
+ export const version = '3.31.12';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "3.31.10",
3
+ "version": "3.31.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": "df57f1e6505d3e058dbe3d9715da2d2cba89fe5a"
100
+ "gitHead": "56d8740d4fc313de859611b51e1d10b42cc6ffa1"
101
101
  }