commit 3b157fcde708 was for bug 588435; a=me

This commit is contained in:
Arpad Borsos 2010-11-23 19:54:48 +01:00
parent e9340d208f
commit b0812bfdaa

View File

@ -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;