fix: prevent annotation from appearing in active viewport when switching series with different Frame of Reference UID (#5630)

* fix: prevent annotation from appearing in active viewport when switching series with different Frame of Reference UID

* refactor: extract viewport update strategies

* Update version and use nearest orientation viewport

---------

Co-authored-by: trenser-belbin <belbin.kunjumon@prenuvo.com>
Co-authored-by: Bill Wallace <wayfarer3130@gmail.com>
This commit is contained in:
authored and GitHub committed 2025-12-18 12:02:52 -05:00
1 parent 0af4c2ae47
commit 658994c854
13 files changed
+322 -261

No files matched your search

+7 -7
View File
@@ -40,7 +40,7 @@
"@cornerstonejs/codec-libjpeg-turbo-8bit": "1.2.2",
"@cornerstonejs/codec-openjpeg": "1.3.0",
"@cornerstonejs/codec-openjph": "2.4.7",
"@cornerstonejs/dicom-image-loader": "4.14.4",
"@cornerstonejs/dicom-image-loader": "4.14.5",
"@ohif/core": "3.12.0-beta.109",
"@ohif/ui": "3.12.0-beta.109",
"dcmjs": "0.45.0",
@@ -53,12 +53,12 @@
},
"dependencies": {
"@babel/runtime": "7.28.2",
"@cornerstonejs/adapters": "4.14.4",
"@cornerstonejs/ai": "4.14.4",
"@cornerstonejs/core": "4.14.4",
"@cornerstonejs/labelmap-interpolation": "4.14.4",
"@cornerstonejs/polymorphic-segmentation": "4.14.4",
"@cornerstonejs/tools": "4.14.4",
"@cornerstonejs/adapters": "4.14.5",
"@cornerstonejs/ai": "4.14.5",
"@cornerstonejs/core": "4.14.5",
"@cornerstonejs/labelmap-interpolation": "4.14.5",
"@cornerstonejs/polymorphic-segmentation": "4.14.5",
"@cornerstonejs/tools": "4.14.5",
"@itk-wasm/morphological-contour-interpolation": "1.1.0",
"@kitware/vtk.js": "34.15.1",
"html2canvas": "1.4.1",