LT-32: Set lesion tool as active tool if timepoint is baseline otherwise window level when switch the tabs
This commit is contained in:
1 parent
192e3c5988
commit
f26fc22cef
4 files changed
+26
-6
No files matched your search
@@ -0,0 +1,10 @@
|
||||
// If timepoint is baseline, sets lesion tool as active tool
|
||||
// Else sets default tool
|
||||
setTimepointActiveTool = function(timepoint) {
|
||||
if ((timepoint.timepointType).toLowerCase() === "baseline") {
|
||||
// Set active tool as lesion tool
|
||||
toolManager.setActiveTool('lesion');
|
||||
} else {
|
||||
toolManager.setActiveTool(toolManager.getDefaultTool());
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user