mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-09-16 10:16:15 +00:00
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:
parent
5281fb1500
commit
dd2df78b9c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue