cornerstoneTools
cornerstoneTools copied to clipboard
fix(AngleTool): fixed bug that was preventing text box to handle for 0 deg angle
- Please check if the PR fulfills these requirements
- [x] The commit message follows our guidelines
- [x] Tests for the changes have been added (for bug fixes / features)
- [x] Docs have been added / updated (for bug fixes / features)
-
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...) This PR contains a bug fix. (Reproducible on OHIF V3 and V2)
-
What is the current behavior? (You can also link to an open issue here) The current behavior is that, if you create a Angle on OHIF currently, if this angle has exactly 0 degrees the text label will not be rendered.
-
What is the new behavior (if this is a feature change)? Now the 0° label is shown.
-
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?) This PR shouldn't introduce any breaking change.
-
Other information: