diff --git a/src/tools/annotation/AngleTool.js b/src/tools/annotation/AngleTool.js index b0e92eb31..daf2be54e 100644 --- a/src/tools/annotation/AngleTool.js +++ b/src/tools/annotation/AngleTool.js @@ -336,6 +336,18 @@ export default class AngleTool extends BaseAnnotationTool { } this.preventNewMeasurement = false; + external.cornerstone.updateImage(element); + + const modifiedEventData = { + toolType: this.name, + element, + measurementData, + }; + triggerEvent( + element, + EVENTS.MEASUREMENT_COMPLETED, + modifiedEventData + ); } ); } diff --git a/src/tools/annotation/ArrowAnnotateTool.js b/src/tools/annotation/ArrowAnnotateTool.js index 2dd627f4d..0db1fbffa 100644 --- a/src/tools/annotation/ArrowAnnotateTool.js +++ b/src/tools/annotation/ArrowAnnotateTool.js @@ -277,6 +277,13 @@ export default class ArrowAnnotateTool extends BaseAnnotationTool { } external.cornerstone.updateImage(element); + + const modifiedEventData = { + toolType: this.name, + element, + measurementData, + }; + triggerEvent(element, EVENTS.MEASUREMENT_COMPLETED, modifiedEventData); } ); }