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

failed generate sprite #2

Closed
ivanzhang92 opened this issue Feb 16, 2016 · 1 comment
Closed

failed generate sprite #2

ivanzhang92 opened this issue Feb 16, 2016 · 1 comment

Comments

@ivanzhang92
Copy link

just install with:
npm install -g ysprite

folder structure:
2016-02-16 9 38 05

and run with:
2016-02-16 9 38 46

However,it do generate a sprite image without css file,but it seems that the result is repeating.
2016-02-16 9 40 13

i try to run ysprite -r in the folder sprites and it works!

@creeperyang
Copy link
Owner

The repeated part is pre generated sprite.png. Maybe the lib should give user a way to specify/filter images to generate sprite.

Anyway, the upcoming v2 will resolve it.

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