fix(tool-manager): Set all tools passive by default in order to render external data if exists
This commit is contained in:
1 parent
5019f539ee
commit
ea6dea4549
1 file changed
+3
@@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user