LT-291: Re-implementing the Non-Target tool behavior
This commit is contained in:
1 parent
e348ff1d4d
commit
5d8a99dc5f
12 files changed
+195
-56
No files matched your search
+4
-1
@@ -58,7 +58,10 @@ Template.measurementTableRow.events({
|
||||
const api = instance.data.measurementApi;
|
||||
|
||||
// Remove all the measurements with the given type and number
|
||||
api.deleteMeasurements(measurementTypeId, toolType, measurementNumber);
|
||||
api.deleteMeasurements(measurementTypeId, {
|
||||
toolType,
|
||||
measurementNumber
|
||||
});
|
||||
|
||||
// Repaint the images on all viewports without the removed measurements
|
||||
_.each($('.imageViewerViewport'), element => cornerstone.updateImage(element));
|
||||
|
||||
Reference in new issue
Block a user