Inconsistent layer order sorting when using nested folders #290
Replies: 5 comments
-
Thank you! Glad you found z-index. There could be something wrong, but I would need to see how the folders and files are organized and the layersOrder from the config to be able to reproduce. Thank you |
Beta Was this translation helpful? Give feedback.
-
That's what I thought too at first, then I realized the files at the deepest level are not ordered either. Here's my simplified detailed structure:
Folder structure:
|
Beta Was this translation helpful? Give feedback.
-
What if I have a folder of gloves? And one is a left handed glove.png, one if a right handed glove.png |
Beta Was this translation helpful? Give feedback.
-
@allendp11 I'm not sure if it's related with this issue but you'll probably need to use the z-indexing feature for that. While grouping same gloves under a same directory, folder for the left gloves would have highest z-index.
|
Beta Was this translation helpful? Give feedback.
-
When using nested folders, layers are sometimes ordered wrong.
Example case; subfolders are named as: 1-Layer, 2-Layer, 3-Layer, etc.
![image](https://user-images.githubusercontent.com/33794346/158087126-1d128eff-129d-429c-a322-fbb13de04ff1.png)
![image](https://user-images.githubusercontent.com/33794346/158087791-1aa12d47-2a25-4d7d-b076-31fbd4486ec9.png)
See how they are listed out of order in the DNA:
While the expected outcome would be:
This issue does not occur if z indexes are used. Let me know if you need any further details to replicate the issue, and thanks for making such an awesome fork @nftchef!
Beta Was this translation helpful? Give feedback.
All reactions