Kind of working, updated cornerstone-core lib.

This commit is contained in:
James Petts committed 2018-10-23 13:21:21 +02:00
1 parent 548dddfc93
commit 1887df2dc5
3 files changed
+11 -2

No files matched your search

@@ -268,7 +268,8 @@ const loadDisplaySetIntoViewport = (data, templateData) => {
}
// Enabling new eventDispatches form cornerstoneTools v3
//cornerstoneTools.addEnabledElement(element);
//cornerstoneTools.addEnabledElement(element); NOTE: This should be done by cTools internally now, no?
console.log('====imageViewerViewport, instantiateTools');
toolManager.instantiateTools(element);
// Use the tool manager to enable the currently active tool for this