Enabling child tools labeling and removing
This commit is contained in:
1 parent
4e31faa294
commit
ebcdf80d49
8 files changed
+117
-33
No files matched your search
@@ -274,7 +274,8 @@ const setActiveToolAndSidebar = () => {
|
||||
|
||||
// Found a measurement, save tool and stop loop
|
||||
if (measurement) {
|
||||
activeTool = cornerstoneToolType;
|
||||
const isArray = Array.isArray(cornerstoneToolType);
|
||||
activeTool = isArray ? cornerstoneToolType[0] : cornerstoneToolType;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user