fix(Image Download): various bug fixes for image download (#3396)
- prevent non-cornerstone viewports from showing the image download dialogue - passing the rendering engine id to ToolGroup.addViewport - fixed the keep/dismiss aspect feature
This commit is contained in:
1 parent
1881ce5cbc
commit
052653f3b2
3 files changed
+21
-6
No files matched your search
@@ -217,7 +217,7 @@ const CornerstoneViewportDownloadForm = ({
|
||||
);
|
||||
|
||||
// add the viewport to the toolGroup
|
||||
toolGroup.addViewport(downloadViewportId);
|
||||
toolGroup.addViewport(downloadViewportId, renderingEngineId);
|
||||
|
||||
Object.keys(toolGroup._toolInstances).forEach(toolName => {
|
||||
// make all tools Enabled so that they can not be interacted with
|
||||
|
||||
Reference in new issue
Block a user