fix(tool-manager): Set all tools passive by default in order to render external data if exists
This commit is contained in:
parent
5019f539ee
commit
ea6dea4549
@ -151,6 +151,9 @@ export const toolManager = {
|
|||||||
const apiTool = cornerstoneTools[tools[toolName]];
|
const apiTool = cornerstoneTools[tools[toolName]];
|
||||||
if (apiTool) {
|
if (apiTool) {
|
||||||
cornerstoneTools.addTool(apiTool, { name: toolName });
|
cornerstoneTools.addTool(apiTool, { name: toolName });
|
||||||
|
|
||||||
|
// Set all tools passive by default in order to render the external data if exists
|
||||||
|
cornerstoneTools.setToolPassive(toolName);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user