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

Show parent layer names in "Move Object to Layer" menu #3811

Merged
merged 5 commits into from
Mar 27, 2024

Conversation

bjorn
Copy link
Member

@bjorn bjorn commented Aug 23, 2023

Also reversed the order of the layers, to match the order in the Layers view.

image

Closes #3454

@eishiya
Copy link
Contributor

eishiya commented Aug 23, 2023

While this is much better than not showing anything, I'd strongly prefer a less verbose "tree view" like I suggested in #3454 (comment), with indentation for nested layers. For large number of layers especially, I feel it would be easier to navigate the list if it superficially resembles the layers list, with "lines" for the groups.

@bjorn
Copy link
Member Author

bjorn commented Mar 26, 2024

Now it looks like that:

image

Also reversed the order of the layers, to match the order in the Layers
view.

Closes mapeditor#3454
* Moved the implementation to
  MapDocumentActionHandler::populateMoveToLayerMenu.

* Use separators for the groups rather than putting the names behind
  each object layer.
@bjorn bjorn merged commit 65eb861 into mapeditor:master Mar 27, 2024
7 of 13 checks passed
@bjorn bjorn deleted the move-to-layer-menu branch March 27, 2024 18:02
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.

Show "Move Object To Layer" context menu as a tree when Object Layers are inside Group Layers
2 participants