lib/sprite/builder.rb in sprite-0.1.4 vs lib/sprite/builder.rb in sprite-0.1.5
- old
+ new
@@ -72,10 +72,10 @@
y = 0
else
x = 0
y = dest_image.rows + spaced_by
end
- results << combiner.image_properties(source_image).merge(:x => x, :y => y, :group => name)
+ results << combiner.image_properties(source_image).merge(:x => -x, :y => -y, :group => name)
dest_image = combiner.composite_images(dest_image, source_image, x, y)
end
# set up path
path = image_output_path(name, format)
\ No newline at end of file