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

Sorting in group layers sometimes incorrect #78

Open
eruvanos opened this issue Nov 23, 2024 · 1 comment
Open

Sorting in group layers sometimes incorrect #78

eruvanos opened this issue Nov 23, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@eruvanos
Copy link
Member

I have issues with a tilemap with the following structure:

  • Group1
    • Layer1.1
    • Group1.2
    • Layer1.3

Due to this code:

def _parse_group_layer(

layers within GroupLayers are not parsed in their order, but layers first and other group layers last.

That changes the order and creates issues, when drawing on screen.

(Do you need a example map?)

@Cleptomania
Copy link
Member

Makes sense, I should be able to make a test map for it pretty easy. Will add a test case for this and get a fix in

@Cleptomania Cleptomania added the bug Something isn't working label Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants