projects
/
profile
/
ivi
/
clutter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa53dcc
)
test-scrolling: Use a better looking bounce easing
author
Emmanuele Bassi
<ebassi@linux.intel.com>
Thu, 27 May 2010 15:32:32 +0000
(16:32 +0100)
committer
Emmanuele Bassi
<ebassi@linux.intel.com>
Thu, 27 May 2010 15:33:01 +0000
(16:33 +0100)
tests/interactive/test-scrolling.c
patch
|
blob
|
history
diff --git
a/tests/interactive/test-scrolling.c
b/tests/interactive/test-scrolling.c
index
e5923c5
..
b550c4a
100644
(file)
--- a/
tests/interactive/test-scrolling.c
+++ b/
tests/interactive/test-scrolling.c
@@
-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;