update cornerstone tools
This commit is contained in:
+1
-1
@@ -1178,7 +1178,7 @@ export function getNextAnnotationImage(element) {
|
|||||||
const enabled_element = cornerstone.getEnabledElement(element)
|
const enabled_element = cornerstone.getEnabledElement(element)
|
||||||
const image_ids = enabled_element.toolStateManager.toolState.stack.data[0].imageIds;
|
const image_ids = enabled_element.toolStateManager.toolState.stack.data[0].imageIds;
|
||||||
const current_image = enabled_element.toolStateManager.toolState.stack.data[0].currentImageIdIndex;
|
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) {
|
if (annotated_images.length > 0) {
|
||||||
let offset = current_image;
|
let offset = current_image;
|
||||||
|
|||||||
+2
-2
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user