fix(reference-lines): Update reference lines for the latest changes in cornerstone tools
This commit is contained in:
1 parent
c7565c7037
commit
5a4deedda8
3 files changed
+10
-4
No files matched your search
+3
-1
@@ -455,7 +455,9 @@ const loadDisplaySetIntoViewport = (data, templateData) => {
|
||||
|
||||
if (OHIF.viewer.refLinesEnabled) {
|
||||
// ... and if reference lines are globally enabled, let cornerstoneTools know.
|
||||
cornerstoneTools.referenceLines.tool.enable(element, OHIF.viewer.updateImageSynchronizer);
|
||||
cornerstoneTools.setToolEnabledForElement(element, 'referenceLines', {
|
||||
synchronizationContext: OHIF.viewer.updateImageSynchronizer
|
||||
});
|
||||
}
|
||||
|
||||
// If the crosshairs tool is active, update the synchronizer
|
||||
|
||||
Reference in new issue
Block a user