test-scrolling: Use a better looking bounce easing
authorEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 27 May 2010 15:32:32 +0000 (16:32 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 27 May 2010 15:33:01 +0000 (16:33 +0100)
tests/interactive/test-scrolling.c

index e5923c5..b550c4a 100644 (file)
@@ -35,7 +35,7 @@ on_drag_end (ClutterDragAction   *action,
   /* check if we're at the viewport edges */
   if (viewport_x > 0)
     {
-      clutter_actor_animate (viewport, CLUTTER_EASE_OUT_QUAD, 250,
+      clutter_actor_animate (viewport, CLUTTER_EASE_OUT_BOUNCE, 250,
                              "x", 0.0,
                              NULL);
       return;
@@ -43,7 +43,7 @@ on_drag_end (ClutterDragAction   *action,
 
   if (viewport_x < (-1.0f * (RECT_WIDTH * (N_RECTS - 1))))
     {
-      clutter_actor_animate (viewport, CLUTTER_EASE_OUT_QUAD, 250,
+      clutter_actor_animate (viewport, CLUTTER_EASE_OUT_BOUNCE, 250,
                              "x", (-1.0f * (RECT_WIDTH * (N_RECTS - 1))),
                              NULL);
       return;