mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 13:57:32 +00:00
commit 3b157fcde708 was for bug 588435; a=me
This commit is contained in:
parent
e9340d208f
commit
b0812bfdaa
@ -929,7 +929,7 @@
|
||||
// |maxTimeDelta| ms
|
||||
const maxTimeDelta = 100;
|
||||
var timeDelta = Math.min(maxTimeDelta, timestamp - this._lastFrame);
|
||||
// we used to scroll |_accelerate()| pixels every 20ms
|
||||
// we used to scroll |_accelerate()| pixels every 20ms (50fps)
|
||||
var timeCompensation = timeDelta / 20;
|
||||
this._lastFrame = timestamp;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user