Viewers icon indicating copy to clipboard operation
Viewers copied to clipboard

[Bug] The Segment color for the brush and the segments are not matching if we create more than 100 segments in a segmentation

Open arul-trenser opened this issue 6 months ago • 3 comments

Describe the Bug

When creating more than 100 segments, the color displayed by the brush tool does not match the actual color of the created segments.

Steps to Reproduce

  1. Launch a viewer with study in segmentation mode
  2. Create New segmentation
  3. Add more than 100 segments
  4. Observe the brush color and the color of the created segments

The current behavior

The color of the brush and created segments are mismatched

https://github.com/user-attachments/assets/e39d7170-b8b6-4f52-99e3-7bc5168d6497

The expected behavior

The color of the brush and created segments should be same

OS

Windows 11

Node version

22.16.0

Browser

Chrome 138.0.7204.101

arul-trenser avatar Jul 14 '25 06:07 arul-trenser

weird

sedghi avatar Jul 14 '25 13:07 sedghi

can you confirm this in cornerstone3D?

sedghi avatar Oct 03 '25 19:10 sedghi

can you confirm this in cornerstone3D?

@sedghi Will check and update you?

arul-trenser avatar Nov 03 '25 12:11 arul-trenser