Skip to content

Conversation

@mbellehumeur
Copy link
Contributor

@mbellehumeur mbellehumeur commented Nov 14, 2025

Context

ticket: 18378695060

Measurement is deleted but the canvas is not refreshed.

DeleteMeasurementProblem.mp4

Changes & Results

Added listener for delete annotation that calls postRender.

Testing

Use patient SIIM, Ravi

DeleteAfter.mp4

Checklist

PR

  • My Pull Request title is descriptive, accurate and follows the
    semantic-release format and guidelines.

Code

  • My code has been well-documented (function documentation, inline comments,
    etc.)

@mbellehumeur mbellehumeur requested a review from sedghi November 24, 2025 16:08
@sedghi
Copy link
Member

sedghi commented Nov 25, 2025

can you pull from main, ci is failing

/**
* Triggers when a tools annotation has been removed.
*/
ANNOTATION_REMOVED = 'CORNERSTONE_TOOLS_ANNOTATION_REMOVED',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm hesitant to add this in core, since we already have annotation removed in tools. So how about not do it here, and just use CORNERSTONE_TOOLS_ANNOTATION_REMOVED inside the wsi viewport?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done - that it how it was originally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants