This commit is contained in:
Ross
2021-12-06 18:56:32 +00:00
parent 996be27c70
commit f109c7690a
+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;