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 group layer support #146

Merged
merged 10 commits into from
Feb 10, 2022
Merged

Conversation

Anti-Alias
Copy link
Contributor

No description provided.

bjorn
bjorn previously approved these changes Feb 8, 2022
Copy link
Member

@bjorn bjorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me!

Unfortunately it will conflict a lot with #135, but that'll be between you and @alexdevteam. :-)

@bjorn bjorn linked an issue Feb 8, 2022 that may be closed by this pull request
@aleokdev
Copy link
Contributor

aleokdev commented Feb 8, 2022

I'd really appreciate if this gets delayed until #135, otherwise it's going to be 10x more pain to merge it...

@Anti-Alias
Copy link
Contributor Author

@alexdevteam Okie smokie. It can wait.

@aleokdev
Copy link
Contributor

aleokdev commented Feb 9, 2022

#135 has been merged now; You are free to reimplement the changes now (and I am really sorry about all the changes and modularization)

@@ -114,18 +114,18 @@ impl Map {
}

/// An iterator that iterates over all the layers in a map, obtained via [`Map::layers`].
pub struct LayerIter<'map> {
pub struct MapLayerIter<'map> {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed name to disambiguate from new GroupLayerIter

@Anti-Alias
Copy link
Contributor Author

Hah, no need to apologize.
I must have picked the worst time to do that PR yesterday.

tests/lib.rs Show resolved Hide resolved
@aleokdev aleokdev merged commit bb77240 into mapeditor:master Feb 10, 2022
@Anti-Alias Anti-Alias deleted the add-group-layer branch February 12, 2022 21:18
@aleokdev aleokdev added this to the 0.10.0 milestone Mar 7, 2022
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.

Support group layers
3 participants