Fix OHIF global variable definition bug in OHIF Viewer, moved resizeViewportElements to viewerbase
This commit is contained in:
1 parent
37fa29cce4
commit
86c8a32e2a
8 files changed
+31
-48
No files matched your search
@@ -72,7 +72,10 @@ toolManager = {
|
||||
mouse: cornerstoneTools.arrowAnnotate,
|
||||
touch: cornerstoneTools.arrowAnnotateTouch
|
||||
});
|
||||
activeTool = OHIF.viewer.defaultTool;
|
||||
|
||||
if (OHIF.viewer.defaultTool) {
|
||||
activeTool = OHIF.viewer.defaultTool;
|
||||
}
|
||||
|
||||
configureTools();
|
||||
initialized = true;
|
||||
|
||||
Reference in new issue
Block a user