- Fixed by setting all tools to passive mode after instantiate then all

- Fixed the default tool that was not being set correctly.
- Fixed some callouts done by Erik into my PR related with keeping old tool list
This commit is contained in:
Gustavo Lelis authored and Evren Ozkan committed 2018-11-09 13:24:47 -05:00
1 parent 51c5c76eb9
commit c30cdbe625
5 files changed
+25 -50

No files matched your search

@@ -284,7 +284,7 @@ const loadDisplaySetIntoViewport = (data, templateData) => {
// Use the tool manager to enable the currently active tool for this
// newly rendered element
const activeTool = toolManager.getActiveTool();
toolManager.cTools.setToolActive(element, activeTool);
toolManager.setActiveTool(activeTool);
// Define a function to run whenever the Cornerstone viewport is rendered
// (e.g. following a change of window or zoom)