Bug 1702978 - Reduce maximum allowed velocity when initiating overscroll snapback animation. r=botond

This makes it so that quick flings don't create such a large initial overscroll gap.

Before: https://share.firefox.dev/3fFP5Kp
After: https://share.firefox.dev/3fHA4b1

The "before" profile shows a jump from -65 to -320 in the overscroll amount, when
the animation is started, and the "after" profile shows a jump from -57 to -201.

Depends on D110844

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

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

@ -608,7 +608,7 @@
- name: apz.overscroll.max_velocity
type: AtomicFloat
value: 20
value: 10
mirror: always
- name: apz.paint_skipping.enabled