Skip to content

Phantom Calibration ROIs cannot be altered once a new one is placed #10

Description

@HaivuUK

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:

  1. Load a CT image
  2. Open the calibration window
  3. Add an ROI (ROI 1)
  4. Edit the ROI (ROI 1)
  5. Create a new ROI (ROI 2)
  6. Click ROI 1
  7. Try and edit ROI 1 through dragging on the CT images.
  8. 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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions