Fix OHIF global variable definition bug in OHIF Viewer, moved resizeViewportElements to viewerbase

This commit is contained in:
Erik Ziegler committed 2015-12-15 10:20:57 -05:00
1 parent 37fa29cce4
commit 86c8a32e2a
8 files changed
+31 -48

No files matched your search

+4 -1
View File
@@ -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;