You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
modify function addEnabledElement in cornerstone.js fle like this . I hope this can help you.
function addEnabledElement(enabledElement) {
if (enabledElement === undefined) {
throw new Error('getEnabledElement: enabledElement element must not be undefined');
}
//Pluto 2025/2/28 修复使用cornerstone.disable之后无法重复加载图像
let existSign = false;
for (var i = 0; i < enabledElements.length; i++) {
if (enabledElements[i].element === enabledElement.element) {
existSign = true;
}
}
if(!existSign){
enabledElements.push(enabledElement);
}
}
disable element enable element,use displayimage,cavans not work
The text was updated successfully, but these errors were encountered: