Updated crossfade.rb for recent tween mode fixes.
[redact.git] / test / crossfade.rb
index 7e132f2ad4b3d314755b1f323515608996158097..36ef35365cb7487279c1d6b137b2f0d047c69fe4 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: crossfade.rb 1 2005-03-26 01:32:38Z tilman $
+# $Id: crossfade.rb 24 2005-04-09 13:53:14Z tilman $
 
 include Redact
 
@@ -46,7 +46,7 @@ EDJE.collection("crossfade") do |c|
                p.signal = "mouse,clicked,1"
                p.source = "background"
                p.value = 1.0
-               p.mode = SetStateProgram::MODE_ACCELERATE
+               p.mode = :accelerate
                p.time = 1.0
                p.targets << ProgramTarget.new(c.part("rect_red"))
                p.targets << ProgramTarget.new(c.part("rect_green"))