.
This commit is contained in:
@@ -359,11 +359,11 @@
|
|||||||
|
|
||||||
let c = cornerstone.getEnabledElement(el);
|
let c = cornerstone.getEnabledElement(el);
|
||||||
|
|
||||||
const toolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager;
|
let toolStateManager = cornerstoneTools.globalImageIdSpecificToolStateManager;
|
||||||
|
|
||||||
const image_id = c.image.imageId;
|
let image_id = c.image.imageId;
|
||||||
|
|
||||||
const state_with_id = toolStateManager.saveToolState()
|
let state_with_id = toolStateManager.saveToolState()
|
||||||
|
|
||||||
const json_tool_state = JSON.stringify(state_with_id[image_id]);
|
const json_tool_state = JSON.stringify(state_with_id[image_id]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user