.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user