update cornerstone tools

This commit is contained in:
Ross
2021-12-07 10:53:18 +00:00
parent da4e47b8b6
commit 4cc8d0a014
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1178,7 +1178,7 @@ export function getNextAnnotationImage(element) {
const enabled_element = cornerstone.getEnabledElement(element)
const image_ids = enabled_element.toolStateManager.toolState.stack.data[0].imageIds;
const current_image = enabled_element.toolStateManager.toolState.stack.data[0].currentImageIdIndex;
const annotated_images = Object.getOwnPropertyNames(cornerstoneTools.globalImageIdSpecificToolStateManager.toolState);
const annotated_images = Object.getOwnPropertyNames(cornerstoneTools.globalImageIdSpecificToolStateManager.saveToolState());
if (annotated_images.length > 0) {
let offset = current_image;
File diff suppressed because one or more lines are too long