node-spritesheet
node-spritesheet copied to clipboard
Impossible to set vpadding/hpadding using grunt
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
+1
+1. This padding is very useful getting sprite images not to overflow into one another when the browser is zoomed.