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

Compact does not arrange images in correct order #38

Open
SvDvorak opened this issue Jul 19, 2015 · 1 comment
Open

Compact does not arrange images in correct order #38

SvDvorak opened this issue Jul 19, 2015 · 1 comment

Comments

@SvDvorak
Copy link

Currently when importing more than five images while using the compact mode the images are placed in the incorrect order. Images should be arranged as

1 2 3
4 5 6
7 8

But are actually placed as

1 2 5
3 4 6
7 8

It would seem that the size of the spritesheet is not calculated beforehand but while adding each image. In the example case making the spritesheet 2x2 first until 5 images are added where it scales it to 3x3 and continues adding images in the available space.

@loxxy
Copy link

loxxy commented Feb 23, 2016

Since this could also prove to be a good way to optimize the spacing in an incremental way, I think working around it is better. Check out my fork, that fixes this: https://github.com/loxxy/stitches

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

No branches or pull requests

2 participants