- 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:
1 parent
51c5c76eb9
commit
c30cdbe625
5 files changed
+25
-50
No files matched your search
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user