input-panel: Bounce the input panel slide

A little bit over the top, but fun.  We may want to make a weston.ini key
for this eventually.
This commit is contained in:
Kristian Høgsberg 2013-06-17 10:31:58 -04:00
parent 5281fb1500
commit dd2df78b9c

View file

@ -303,8 +303,9 @@ weston_slide_run(struct weston_surface *surface, float start, float stop,
if (!animation)
return NULL;
animation->spring.friction = 900;
animation->spring.k = 300;
animation->spring.friction = 600;
animation->spring.k = 400;
animation->spring.clip = WESTON_SPRING_BOUNCE;
return animation;
}