Working with latest cornerstone and cornerstoneTools versions.

This commit is contained in:
James Petts authored and Evren Ozkan committed 2018-11-09 13:24:48 -05:00
1 parent 05085b452d
commit 6fedea1653
6 files changed
+19 -27

No files matched your search

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