@cornerstonejs/core 3.31.9 → 3.31.11
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
|
-
|
|
224
|
-
|
|
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;
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "3.31.
|
|
1
|
+
export declare const version = "3.31.11";
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '3.31.
|
|
1
|
+
export const version = '3.31.11';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/core",
|
|
3
|
-
"version": "3.31.
|
|
3
|
+
"version": "3.31.11",
|
|
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": "
|
|
100
|
+
"gitHead": "ef652d1dc272c927ac5ad55dd460972bf765d0df"
|
|
101
101
|
}
|