-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure AngleTool and ArrowAnnotateTool fire MEASUREMENT_COMPLETED event #1204
Ensure AngleTool and ArrowAnnotateTool fire MEASUREMENT_COMPLETED event #1204
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1204 +/- ##
==========================================
- Coverage 18.73% 18.72% -0.02%
==========================================
Files 286 286
Lines 8571 8576 +5
Branches 1457 1457
==========================================
Hits 1606 1606
- Misses 5774 5779 +5
Partials 1191 1191
Continue to review full report at Codecov.
|
@ladeirarodolfo, you can |
@@ -336,6 +336,18 @@ export default class AngleTool extends BaseAnnotationTool { | |||
} | |||
|
|||
this.preventNewMeasurement = false; | |||
external.cornerstone.updateImage(element); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the addition of updateImage
? Were you noticing a stale render?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
🎉 This PR is included in version 4.14.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
ArrowAnnotate and Angle to fire MEASUREMENT_COMPLETED event
What is the current behavior? (You can also link to an open issue here)
ArrowAnnotate and Angle not firing MEASUREMENT_COMPLETED event
What is the new behavior (if this is a feature change)?
ArrowAnnotate and Angle do fire MEASUREMENT_COMPLETED event
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
no breaking change
Other information: