Bug 1702978 - Reduce springiness of the overscroll snapback animation. r=botond

This makes the snapback less aggressive, and feels more like Safari to me.
Reducing the stiffness makes the animation take longer to complete.
To counteract the longer time, I've also reduced the damping a little bit;
reducing the damping makes the animation complete a little more quickly.

Depends on D110845

Differential Revision: https://phabricator.services.mozilla.com/D110846
This commit is contained in:
Markus Stange 2021-04-06 15:50:10 +00:00
Родитель 48163dbe45
Коммит c51257646d
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -598,12 +598,12 @@
- name: apz.overscroll.spring_stiffness
type: AtomicFloat
value: 400
value: 200
mirror: always
- name: apz.overscroll.damping
type: AtomicFloat
value: 1.2
value: 1.1
mirror: always
- name: apz.overscroll.max_velocity