[gnome-games] gnibbles: the elastic effect overshoots and will cause a negative opacity to be set. Use expo instea



commit e6deaf9bb5ca37c8c7b3e035e97b1d40b2ee8c7f
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date:   Wed Jan 5 23:33:28 2011 +0100

    gnibbles: the elastic effect overshoots and will cause a negative opacity to be set. Use expo instead

 gnibbles/worm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnibbles/worm.c b/gnibbles/worm.c
index a34626d..65172b6 100644
--- a/gnibbles/worm.c
+++ b/gnibbles/worm.c
@@ -736,7 +736,7 @@ gnibbles_worm_reduce_tail (GnibblesWorm *worm, gint erasesize)
     worm->length -= erasesize;
     clutter_container_add_actor (CLUTTER_CONTAINER (stage), group);
 
-    clutter_actor_animate (group, CLUTTER_EASE_OUT_ELASTIC, 850,
+    clutter_actor_animate (group, CLUTTER_EASE_OUT_EXPO, 850,
                            "opacity", 0,
                            NULL);
   }



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