8000 change no-sort to sort by eightyfour · Pull Request #41 · sprity/sprity · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

change no-sort to sort #41

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

eightyfour
Copy link

Hey, I need to generate the sprite for a CSS animation with steps. For this it was important that the tool generates the images on the sprite sorted by file name. I go through the code and found no usage for the no-sort flag. Actually the code uses the sort flag and pass it to the layout module to calculate the positions. If I set it to false it was working fine for me.

Best,
Philipp

A3DC
eightyfour added 2 commits December 4, 2015 16:23
So far I've seen the no-sort flag isn't used. So I changed this in the documentation. To disable the sort algorithm you need to set the flag sort to false (I need this for CSS animation with steps)
@igorski
Copy link
igorski commented Jan 23, 2018

This deserves a Nobel prize as Sprity was outputting the sprite in seemingly random order!!

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.

2 participants
0