lib/whirled_peas/animator/producer.rb in whirled_peas-0.8.0 vs lib/whirled_peas/animator/producer.rb in whirled_peas-0.9.0

- old
+ new

@@ -15,10 +15,10 @@ @refresh_rate = refresh_rate end def add_frame(name, duration: nil, args: {}) frameset(duration || 1 / refresh_rate) do |fs| - fs.add_frame(name, args) + fs.add_frame(name, args: args) end end def frameset(duration, easing: :linear, effect: :in_out, &block) fs = Frameset.new((duration * refresh_rate).round, easing, effect)