fix caching system

This commit is contained in:
Ross
2021-03-12 13:47:58 +00:00
parent 6603b7a20c
commit 792026eb98
6 changed files with 478 additions and 223 deletions
+1
View File
@@ -336,6 +336,7 @@ export function changeControlSelection() {
disableFullscreen(dicom_element);
}
if (dicom_element != undefined) {
// See https://github.com/cornerstonejs/cornerstoneTools/issues/1337
cornerstone.removeElementData(dicom_element);
cornerstone.disable(dicom_element);
$(".canvas-panel").remove();