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:
+3
-2
@@ -303,8 +303,9 @@ weston_slide_run(struct weston_surface *surface, float start, float stop,
|
|||||||
if (!animation)
|
if (!animation)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
animation->spring.friction = 900;
|
animation->spring.friction = 600;
|
||||||
animation->spring.k = 300;
|
animation->spring.k = 400;
|
||||||
|
animation->spring.clip = WESTON_SPRING_BOUNCE;
|
||||||
|
|
||||||
return animation;
|
return animation;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user