diff --git a/src/components/SegmentItem.tsx b/src/components/SegmentItem.tsx index 81331f86..ee985408 100644 --- a/src/components/SegmentItem.tsx +++ b/src/components/SegmentItem.tsx @@ -99,11 +99,15 @@ class SegmentItem extends React.Component { return { currentStyle: newStyle } }, () => { + /** + * Only send opacity - do not include color. For FRACTIONAL segments, + * sending color would replace the distinct colormap with a flat LUT. + * Color changes are handled separately by handleColorChange. + */ this.props.onStyleChange({ segmentUID: this.props.segment.uid, styleOptions: { opacity, - color: this.state.currentStyle.color, }, }) },