From 41bd992a8d2b089eb0242c2db8c58031810aadf3 Mon Sep 17 00:00:00 2001 From: Scott Davis Date: Sun, 12 Jun 2011 01:42:38 -0400 Subject: [PATCH] fixed :sprite_generated callback its now passing along the canvas --- lib/compass/sass_extensions/sprites/sprite_methods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compass/sass_extensions/sprites/sprite_methods.rb b/lib/compass/sass_extensions/sprites/sprite_methods.rb index 78302326..c620e95a 100644 --- a/lib/compass/sass_extensions/sprites/sprite_methods.rb +++ b/lib/compass/sass_extensions/sprites/sprite_methods.rb @@ -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