Skip to content

Commit 75c81b7

Browse files
committed
Update lib/css_sprite/sprite.rb
fixed transparence loose in mac
1 parent 34b52d8 commit 75c81b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/css_sprite/sprite.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def output_image(directory)
106106
results << image_properties(source_image, directory).merge(:x => x, :y => y)
107107
dest_image = composite_images(dest_image, source_image, x, y)
108108
end
109-
dest_image.image_type = @config['image_type'] ? Magick.const_get(@config['image_type']) : Magick::PaletteMatteType
109+
#dest_image.image_type = @config['image_type'] ? Magick.const_get(@config['image_type']) : Magick::PaletteMatteType
110110
dest_image.format = @config['format'] || "PNG"
111111
dest_image.write(dest_image_path)
112112
end

0 commit comments

Comments
 (0)