[1mdiff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c[m
[1mindex bdf7d282..9e8e644e 100644[m
[1m--- a/src/ui/documentwidget.c[m
[1m+++ b/src/ui/documentwidget.c[m
[36m@@ -1801,7 +1801,9 @@[m [mstatic iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e[m
smoothScroll_DocumentWidget_([m
d,[m
-3 * ev->wheel.y * lineHeight_Text(paragraph_FontId) * acceleration,[m
[31m- smoothDuration_DocumentWidget_);[m
[32m+[m[32m smoothDuration_DocumentWidget_ *[m
[32m+[m[32m (!isFinished_Anim(&d->scrollY) && pos_Anim(&d->scrollY) < 0.25f ? 0.5f : 1.0f));[m
[32m+[m[32m /* accelerated speed for repeated wheelings */[m
#endif[m
iChangeFlags(d->flags, noHoverWhileScrolling_DocumentWidgetFlag, iTrue);[m
return iTrue;[m
[1mdiff --git a/src/ui/util.c b/src/ui/util.c[m
[1mindex 27950c5e..603b3213 100644[m
[1m--- a/src/ui/util.c[m
[1m+++ b/src/ui/util.c[m
[36m@@ -221,6 +221,10 @@[m [mvoid stop_Anim(iAnim *d) {[m
d->when = d->due = SDL_GetTicks();[m
}[m
[m
[32m+[m[32mfloat pos_Anim(const iAnim *d) {[m
[32m+[m[32m return pos_Anim_(d, frameTime_Window(get_Window()));[m
[32m+[m[32m}[m
[32m+[m
float value_Anim(const iAnim *d) {[m
return valueAt_Anim_(d, frameTime_Window(get_Window()));[m
}[m
[1mdiff --git a/src/ui/util.h b/src/ui/util.h[m
[1mindex c342c095..9796b387 100644[m
[1m--- a/src/ui/util.h[m
[1m+++ b/src/ui/util.h[m
[36m@@ -89,6 +89,7 @@[m [mvoid setFlags_Anim (iAnim *, int flags, iBool set);[m
void stop_Anim (iAnim *);[m
[m
iBool isFinished_Anim (const iAnim *);[m
[32m+[m[32mfloat pos_Anim (const iAnim *);[m
float value_Anim (const iAnim *);[m
[m
iLocalDef float targetValue_Anim(const iAnim *d) {[m
text/plain
This content has been proxied by September (ba2dc).