Bug fixing: nonTarget tool measurements will be active when row is selected
This commit is contained in:
1 parent
1e61e487c0
commit
aa5e23cf8e
4 files changed
+21
-12
No files matched your search
@@ -1104,7 +1104,7 @@ if (typeof cornerstoneTools === 'undefined') {
|
||||
imageNeedsUpdate = true;
|
||||
}
|
||||
|
||||
if ((mouseToolInterface.pointInsideRect(eventData.element, data, coords) && !data.active) || (!mouseToolInterface.pointInsideRect(eventData.element, data, coords) && data.active)) {
|
||||
if (mouseToolInterface.pointInsideRect(eventData.element, data, coords) && !data.active || !mouseToolInterface.pointInsideRect(eventData.element, data, coords) && data.active) {
|
||||
data.active = !data.active;
|
||||
imageNeedsUpdate = true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user