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

Impossible to set vpadding/hpadding using grunt #36

Open
stalniy opened this issue Nov 6, 2013 · 2 comments
Open

Impossible to set vpadding/hpadding using grunt #36

stalniy opened this issue Nov 6, 2013 · 2 comments

Comments

@stalniy
Copy link

stalniy commented Nov 6, 2013

Currently it's impossible to specify vpadding/hpadding options for sprite image. As I see from source code this.options for SpriteSheetConfiguration class is not set but then inside method layoutImages you passes this options into Layout constructor:

//builder.coffee L: 187
      layout = new Layout()
      @layout = layout.layout @images, @options
@rubenstolk
Copy link

+1

@stevenyxu
Copy link

+1. This padding is very useful getting sprite images not to overflow into one another when the browser is zoomed.

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

3 participants