[Bug] ReferenceLinesTool can render with solid line style rather that dashed line style
Describe the Bug
When using arrowAnnotateTool when ReferenceLineTool is active, toggling between viewports can cause the ReferenceLineTool to become solid.
Steps to Reproduce
- load Neptune mrn 0000002 (part of the set used by viewer.ohif.org) with [basic viewer] mode
- switch layout to 2x1 (ie 2 across) scout will be in left, axial in right
- select length tool
- draw in scout
- select w/l tool
- click on axial
- The scout will now have a solid line rather than dotted line. Not expected.
The current behavior
without using length tool above, one sees dotted reference line rather than solid reference line. Dotted reference line is always expected. Using length tool and switching to axial viewport causes the reference line to be solid. That is not expected.
The expected behavior
The reference line is expected to be dotted line style at all times.
OS
Ubuntu
Node version
20
Browser
chrome Version 129.0.6668.100 (Official Build) (64-bit)
Issue reproduced with viewer.ohif.org on 14-oct-2024 https://viewer.ohif.org/viewer?StudyInstanceUIDs=1.3.6.1.4.1.25403.345050719074.3824.20170125095258.1
I think this belong in OHIF, can you post it there please?
I have a PR for this https://github.com/OHIF/Viewers/pull/4478