@cornerstonejs/tools 1.66.7 → 1.66.9
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/cine/playClip.js +1 -2
- package/dist/cjs/utilities/cine/playClip.js.map +1 -1
- package/dist/esm/utilities/cine/playClip.js +1 -2
- package/dist/esm/utilities/cine/playClip.js.map +1 -1
- package/dist/types/utilities/cine/playClip.d.ts.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/cine/playClip.ts +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/tools",
|
|
3
|
-
"version": "1.66.
|
|
3
|
+
"version": "1.66.9",
|
|
4
4
|
"description": "Cornerstone3D Tools",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "dist/types/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.66.
|
|
32
|
+
"@cornerstonejs/core": "^1.66.9",
|
|
33
33
|
"@icr/polyseg-wasm": "0.4.0",
|
|
34
34
|
"@types/offscreencanvas": "2019.7.3",
|
|
35
35
|
"comlink": "^4.4.1",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"type": "individual",
|
|
60
60
|
"url": "https://ohif.org/donate"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "f8a024267b068b9feee1e5972a7fffb40adc3578"
|
|
63
63
|
}
|
|
@@ -19,7 +19,6 @@ const { ViewportStatus } = Enums;
|
|
|
19
19
|
const { triggerEvent } = csUtils;
|
|
20
20
|
|
|
21
21
|
const debounced = true;
|
|
22
|
-
const loop = true;
|
|
23
22
|
const dynamicVolumesPlayingMap = new Map();
|
|
24
23
|
|
|
25
24
|
/**
|
|
@@ -125,7 +124,7 @@ function playClip(
|
|
|
125
124
|
const newStepIndexOutOfRange =
|
|
126
125
|
newStepIndex < 0 || newStepIndex >= numScrollSteps;
|
|
127
126
|
|
|
128
|
-
if (!loop && newStepIndexOutOfRange) {
|
|
127
|
+
if (!playClipData.loop && newStepIndexOutOfRange) {
|
|
129
128
|
// If a 3D CINE was playing it passes isDynamicCinePlaying as FALSE to
|
|
130
129
|
// prevent stopping a 4D CINE in case it is playing on another viewport.
|
|
131
130
|
_stopClip(element, {
|