mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1231972 - Document how the apz.fling_friction pref is used. r=kats. DONTBUILD for comment change
This commit is contained in:
parent
3ff0cd97cf
commit
b1d9d5cd42
@ -194,8 +194,11 @@ using mozilla::gfx::PointTyped;
|
||||
* http://mxr.mozilla.org/mozilla-central/source/layout/style/nsStyleStruct.cpp?rev=21282be9ad95#2462
|
||||
*
|
||||
* \li\b apz.fling_friction
|
||||
* Amount of friction applied during flings.
|
||||
*
|
||||
* Amount of friction applied during flings. This is used in the following
|
||||
* formula: v(t1) = v(t0) * (1 - f)^(t1 - t0), where v(t1) is the velocity
|
||||
* for a new sample, v(t0) is the velocity at the previous sample, f is the
|
||||
* value of this pref, and (t1 - t0) is the amount of time, in milliseconds,
|
||||
* that has elapsed between the two samples.
|
||||
*
|
||||
* \li\b apz.fling_repaint_interval
|
||||
* Maximum amount of time flinging before sending a viewport change. This will
|
||||
|
Loading…
Reference in New Issue
Block a user