Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

silx.gui.plot.items: Make highlighted RegionOfInterest take priority for interactions #3975

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

t20100
Copy link
Member

@t20100 t20100 commented Nov 28, 2023

This PR makes sure a highlighted ROI receives interaction first by changing the Z layer of its items.
This is a simple fix with one limitation: It does not work if ROI's item Z value is changed which is not the case so far in implemented ROIs.

A neater way to fix this woud be to have a Group item (see #3077).

closes #3927

@t20100 t20100 added this to the 2.0.0 milestone Nov 28, 2023
@t20100 t20100 requested a review from vallsv November 28, 2023 08:49
@vallsv vallsv merged commit 2d99d4b into silx-kit:main Dec 11, 2023
@t20100 t20100 deleted the roi-active-one-first branch January 15, 2024 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

roi: Make sure the active ROI have to priority
2 participants