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

Add the ability to re-order layer zorder via UI #447

Open
astrofrog opened this issue May 16, 2024 · 3 comments
Open

Add the ability to re-order layer zorder via UI #447

astrofrog opened this issue May 16, 2024 · 3 comments

Comments

@astrofrog
Copy link
Member

At the moment I don't think we have a way to reorder the visible order (zorder) of layers via the UI, so we should make sure that we provide a way to do this, and that all viewers respect the zorder.

@Carifio24
Copy link
Member

I did this for the scatter and histogram viewers in #334, but never got around to doing the profile or image viewers.

@astrofrog
Copy link
Member Author

Ah did your PR include a way of reordering the layers in the UI?

@Carifio24
Copy link
Member

It did, yeah - there's an IntText in the layer options widget that allows setting the z-order for the currently selected layer. The order of the layers in the dropdown menu will update to reflect z-ordering as well (though currently the lowest z-order layer is at the top of the dropdown, maybe that should be reversed).

It is definitely not as nice of an experience as the drag-and-drop in the Qt app though, having something like that would probably be ideal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants