Viewers
Viewers copied to clipboard
Segmentation Panel Will not add a new segmentation if Layout is changed [Bug]
Describe the Bug
3.8.0-beta.85
When using Segmentation Mode, if the user changes their layout before creating a new Segmentation the Add Segmentation button will not work.
When using the default layout it works fine.
Steps to Reproduce
- Go to a study in Segmentation mode - https://viewer-dev.ohif.org/segmentation?StudyInstanceUIDs=1.2.840.113619.2.290.3.3767434740.226.1600859119.501
- Change the layout to 2x2
- Click +Add Segmentation
- Nothing will happen
The current behavior
If the user changes from the default Layout while in segmentation mode before clicking +Add Segmentation button will no longer add new Segmentations.
The expected behavior
Add Segment should work regardless of if Layout is changed before or after +Add Segmentation is clicked.
OS
Windows 11
Node version
Using OHIF Demo
Browser
123.0.6312.59 (Official Build) (64-bit)