@cornerstonejs/core 1.23.1 → 1.23.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/StackViewport.js +1 -2
- package/dist/cjs/RenderingEngine/StackViewport.js.map +1 -1
- package/dist/cjs/utilities/transferFunctionUtils.js +3 -0
- package/dist/cjs/utilities/transferFunctionUtils.js.map +1 -1
- package/dist/esm/RenderingEngine/StackViewport.js +1 -2
- package/dist/esm/RenderingEngine/StackViewport.js.map +1 -1
- package/dist/esm/utilities/transferFunctionUtils.js +3 -0
- package/dist/esm/utilities/transferFunctionUtils.js.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/StackViewport.ts +1 -4
- package/src/utilities/transferFunctionUtils.ts +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/core",
|
|
3
|
-
"version": "1.23.
|
|
3
|
+
"version": "1.23.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "dist/esm/index.d.ts",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"type": "individual",
|
|
47
47
|
"url": "https://ohif.org/donate"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "c527923a8a1afd65e76f9335ac4cc0bc3a0e924b"
|
|
50
50
|
}
|
|
@@ -1134,10 +1134,7 @@ class StackViewport extends Viewport implements IStackViewport {
|
|
|
1134
1134
|
const newVOILUTFunction = this._getValidVOILUTFunction(voiLUTFunction);
|
|
1135
1135
|
|
|
1136
1136
|
let forceRecreateLUTFunction = false;
|
|
1137
|
-
if (
|
|
1138
|
-
this.VOILUTFunction !== VOILUTFunctionType.LINEAR &&
|
|
1139
|
-
newVOILUTFunction === VOILUTFunctionType.LINEAR
|
|
1140
|
-
) {
|
|
1137
|
+
if (this.VOILUTFunction !== newVOILUTFunction) {
|
|
1141
1138
|
forceRecreateLUTFunction = true;
|
|
1142
1139
|
}
|
|
1143
1140
|
|