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)
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user