@cornerstonejs/tools 1.16.2 → 1.16.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/utilities/stackPrefetch/stackPrefetch.js +1 -1
- package/dist/cjs/utilities/stackPrefetch/stackPrefetch.js.map +1 -1
- package/dist/esm/utilities/stackPrefetch/stackPrefetch.js +1 -1
- package/dist/esm/utilities/stackPrefetch/stackPrefetch.js.map +1 -1
- package/dist/umd/index.js +1 -1
- package/dist/umd/index.js.map +1 -1
- package/package.json +3 -3
- package/src/utilities/stackPrefetch/stackPrefetch.ts +7 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/tools",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.3",
|
|
4
4
|
"description": "Cornerstone3D Tools",
|
|
5
5
|
"main": "dist/umd/index.js",
|
|
6
6
|
"types": "dist/esm/index.d.ts",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"webpack:watch": "webpack --mode development --progress --watch --config ./.webpack/webpack.dev.js"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@cornerstonejs/core": "^1.16.
|
|
32
|
+
"@cornerstonejs/core": "^1.16.3",
|
|
33
33
|
"lodash.clonedeep": "4.5.0",
|
|
34
34
|
"lodash.get": "^4.4.2"
|
|
35
35
|
},
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"type": "individual",
|
|
53
53
|
"url": "https://ohif.org/donate"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "25d70505b601d8b8a3b00e2a3dde8241048265ad"
|
|
56
56
|
}
|
|
@@ -16,7 +16,13 @@ const addToBeginning = true;
|
|
|
16
16
|
|
|
17
17
|
let configuration = {
|
|
18
18
|
maxImagesToPrefetch: Infinity,
|
|
19
|
-
|
|
19
|
+
// Preserving the existing pool should be the default behaviour, as there might
|
|
20
|
+
// be a volume of the same series already being loaded in the pool, and we don't want
|
|
21
|
+
// to cancel it middle of the way when the other stack viewport mounts. Worst case scenario
|
|
22
|
+
// there will be a few extra images in the pool but by the time that their turn comes
|
|
23
|
+
// we will have already loaded the volume and it will get read from the CACHE,
|
|
24
|
+
// so who cares
|
|
25
|
+
preserveExistingPool: true,
|
|
20
26
|
};
|
|
21
27
|
|
|
22
28
|
let resetPrefetchTimeout;
|