Working with latest cornerstone and cornerstoneTools versions.

This commit is contained in:
James Petts committed 2018-10-23 16:53:24 +02:00
1 parent 1887df2dc5
commit 7bf059ad05
6 files changed
+19 -27

No files matched your search

@@ -267,9 +267,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