Bug 586621 follow-up: s/2/4/ as written in the reviewed patch

This commit is contained in:
Dão Gottwald 2010-08-23 10:17:49 +02:00
Родитель cff57d723a
Коммит ccda11f111
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -248,7 +248,7 @@
handleEvent: function scrollAnim_handleEvent(event) {
const timePassed = event.timeStamp - this.startTime;
const pos = timePassed >= this.duration ? 1 :
1 - Math.pow(1 - timePassed / this.duration, 2);
1 - Math.pow(1 - timePassed / this.duration, 4);
this.scrollbox.scrollPosition = this.startPos + (this.distance * pos);