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

fix: Implement natural sort ordering as provided by the natord crate for spritesheet outputs. #52

Merged
merged 2 commits into from
Aug 24, 2024

Conversation

notnotmelon
Copy link
Contributor

This PR fixes wrong output in the following scenario.

Input:
image

Using spritter, the output is in the incorrect order:
image

The solution is natural ordering via natord crate.

src/image_util.rs Show resolved Hide resolved
src/image_util.rs Outdated Show resolved Hide resolved
@fgardt fgardt enabled auto-merge (squash) August 24, 2024 10:21
@fgardt fgardt merged commit 083c5ab into fgardt:main Aug 24, 2024
7 checks passed
@fgardt fgardt added bug Something isn't working enhancement New feature or request labels Aug 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 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants