Repository navigation
What's Changed
- fix(viewer): draw a new segment at the opacity of its style by @igoroctaviano in #321
Fixes
- Segments are drawn at the opacity their style reports: segment layers started at opacity 1 while
getSegmentStyle()returned 0.75, and only took the style's opacity oncesetSegmentStyle()was called with one. LABELMAP and FRACTIONAL segments shown without style options drew fully opaque at a nominal 75 %, hiding the tissue
Visible change
- A segment shown without an explicit opacity now draws at its default 0.75 instead of 1. Applications that relied on the opaque look should pass
opacitytoshowSegment()orsetSegmentStyle()
Full Changelog: v0.51.2...v0.51.3