Describe the bug
Phantom calibration ROIs can only be edited visually on the CT images if they were the last one placed.
Placing a new ROI prevents the previous one from being edited visually.
This also means you can edit the second ROI without being near it on the screen.
To Reproduce
Steps to reproduce the behaviour:
- Load a CT image
- Open the calibration window
- Add an ROI (ROI 1)
- Edit the ROI (ROI 1)
- Create a new ROI (ROI 2)
- Click ROI 1
- Try and edit ROI 1 through dragging on the CT images.
- ROI 2 will be edited instead even if not in the region of the click.
Expected behavior
The ROI that is clicked should be the one that is edited not the last added ROI.
Desktop (please complete the following information):
- OS: all
- Version 0.3.X
- Rust Version 1.97.1
Describe the bug
Phantom calibration ROIs can only be edited visually on the CT images if they were the last one placed.
Placing a new ROI prevents the previous one from being edited visually.
This also means you can edit the second ROI without being near it on the screen.
To Reproduce
Steps to reproduce the behaviour:
Expected behavior
The ROI that is clicked should be the one that is edited not the last added ROI.
Desktop (please complete the following information):