@cornerstonejs/core 1.36.1 → 1.36.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.
- package/dist/cjs/RenderingEngine/RenderingEngine.js +0 -3
- package/dist/cjs/RenderingEngine/RenderingEngine.js.map +1 -1
- package/dist/esm/RenderingEngine/RenderingEngine.js +0 -3
- package/dist/esm/RenderingEngine/RenderingEngine.js.map +1 -1
- package/dist/types/RenderingEngine/RenderingEngine.d.ts.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +2 -2
- package/src/RenderingEngine/RenderingEngine.ts +5 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/core",
|
|
3
|
-
"version": "1.36.
|
|
3
|
+
"version": "1.36.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"type": "individual",
|
|
48
48
|
"url": "https://ohif.org/donate"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "b6b6f9273ca4cff849336005d199c4b1b1570815"
|
|
51
51
|
}
|
|
@@ -232,13 +232,11 @@ class RenderingEngine implements IRenderingEngine {
|
|
|
232
232
|
this._clearAnimationFrame();
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
-
//
|
|
236
|
-
//
|
|
237
|
-
//
|
|
238
|
-
//
|
|
239
|
-
|
|
240
|
-
const keepCamera = true;
|
|
241
|
-
this.resize(immediate, keepCamera);
|
|
235
|
+
// Note: we should not call resize at the end of here, the reason is that
|
|
236
|
+
// in batch rendering, we might disable a viewport and enable others at the same
|
|
237
|
+
// time which would interfere with each other. So we just let the enable
|
|
238
|
+
// to call resize, and also resize getting called by applications on the
|
|
239
|
+
// DOM resize event.
|
|
242
240
|
}
|
|
243
241
|
|
|
244
242
|
/**
|