[ease] [transitions] Further "Swing Contents" tweaks



commit b1f1c31a9ef36bcf6560dffed8a553664a2297ca
Author: Nate Stedman <natesm gmail com>
Date:   Mon Aug 23 03:10:19 2010 -0400

    [transitions] Further "Swing Contents" tweaks

 ease/ease-slide-actor.vala |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/ease/ease-slide-actor.vala b/ease/ease-slide-actor.vala
index 0278e15..bb5998d 100644
--- a/ease/ease-slide-actor.vala
+++ b/ease/ease-slide-actor.vala
@@ -1224,17 +1224,14 @@ internal class Ease.SlideActor : Clutter.Group
 		background.animate(Clutter.AnimationMode.EASE_IN_OUT_SINE,
 		                   length, "opacity", 0);
 		
-		time1 = new Clutter.Timeline(3 * length / 4);
-		time2 = new Clutter.Timeline(length / 4);
+		time1 = new Clutter.Timeline(3 * length / 5);
+		time2 = new Clutter.Timeline(2 * length / 5);
 		
 		alpha1 = new Clutter.Alpha.full(time1,
 		                                Clutter.AnimationMode.EASE_IN_SINE);
 		                                
 		alpha2 = new Clutter.Alpha.full(time2,
-		                                Clutter.AnimationMode.EASE_OUT_SINE);
-		                                
-		animation_alpha = new Clutter.Alpha.full(animation_time,
-		                                         Clutter.AnimationMode.LINEAR);
+		                                Clutter.AnimationMode.EASE_OUT_BACK);
 		
 		time1.new_frame.connect((m) => {
 			foreach (var actor in contents)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]