motion/joybox/actions/fade.rb in joybox-0.0.6 vs motion/joybox/actions/fade.rb in joybox-1.0.0
- old
+ new
@@ -23,14 +23,12 @@
CCFadeOut.actionWithDuration(options[:duration])
end
def self.to(options = {})
- p "========================="
options = options.nil? ? defaults : defaults.merge!(options)
- p options
- CCFadeTo.actionWithDuration(options[:duration],
+ CCFadeTo.actionWithDuration(options[:duration],
opacity: options[:opacity])
end
end
end
\ No newline at end of file