fixed :sprite_generated callback its now passing along the canvas

This commit is contained in:
Scott Davis 2011-06-12 01:42:38 -04:00
parent 1f17603aea
commit 41bd992a8d

View File

@ -66,8 +66,8 @@ module Compass
cleanup_old_sprites
end
engine.construct_sprite
Compass.configuration.run_callback(:sprite_generated, engine.canvas)
save!
Compass.configuration.run_callback(:sprite_generated, sprite_data)
end
end