the-architect-sprite_generator 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sprite_generator.rb +2 -2
- metadata +1 -1
data/lib/sprite_generator.rb
CHANGED
@@ -137,7 +137,7 @@ protected
|
|
137
137
|
|
138
138
|
def append_to_sprite(images)
|
139
139
|
background = @background
|
140
|
-
|
140
|
+
@images.from_blob(images.append(true).to_blob){ self.background_color = background }
|
141
141
|
end
|
142
142
|
|
143
143
|
|
@@ -209,7 +209,7 @@ protected
|
|
209
209
|
|
210
210
|
# put filenames in format for each mode
|
211
211
|
def find_files_for_mode(mode)
|
212
|
-
case mode
|
212
|
+
case mode.to_sym
|
213
213
|
when :smart
|
214
214
|
smart_distribution
|
215
215
|
when :horizontal
|