@cornerstonejs/core 4.22.9 → 4.22.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.
@@ -147,9 +147,6 @@ class ContextPoolRenderingEngine extends BaseRenderingEngine {
147
147
  if (viewportsNeedingResize.length === 0) {
148
148
  return;
149
149
  }
150
- if (this._animationFrameSet) {
151
- return;
152
- }
153
150
  for (const vp of viewportsNeedingResize) {
154
151
  const canvas = getOrCreateCanvas(vp.element);
155
152
  const displayedWidth = Math.round(canvas.clientWidth * devicePixelRatio);
@@ -159,6 +156,9 @@ class ContextPoolRenderingEngine extends BaseRenderingEngine {
159
156
  vp.sWidth = targetWidth;
160
157
  vp.sHeight = targetHeight;
161
158
  }
159
+ if (this._animationFrameSet) {
160
+ return;
161
+ }
162
162
  if (vtkDrivenViewports.length) {
163
163
  this._resize(vtkDrivenViewports);
164
164
  }
@@ -1 +1 @@
1
- export declare const version = "4.22.9";
1
+ export declare const version = "4.22.11";
@@ -1 +1 @@
1
- export const version = '4.22.9';
1
+ export const version = '4.22.11';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/core",
3
- "version": "4.22.9",
3
+ "version": "4.22.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": "8958f5b08f3cd4a234fe7cae163f45b1cd9d009c"
100
+ "gitHead": "9cc703acb396d12b37fdc8af4727218574494caa"
101
101
  }