Viewers
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
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
- Launch a viewer with study in segmentation mode
- Create New segmentation
- Add more than 100 segments
- 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
weird
can you confirm this in cornerstone3D?
can you confirm this in cornerstone3D?
@sedghi Will check and update you?