summaryrefslogtreecommitdiff
path: root/src/ui/listwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/listwidget.c')
-rw-r--r--src/ui/listwidget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/listwidget.c b/src/ui/listwidget.c
index f7c43a93..29aa9d1f 100644
--- a/src/ui/listwidget.c
+++ b/src/ui/listwidget.c
@@ -347,7 +347,8 @@ static iBool processEvent_ListWidget_(iListWidget *d, const SDL_Event *ev) {
347 else { 347 else {
348 /* Traditional mouse wheel. */ 348 /* Traditional mouse wheel. */
349 amount *= 3 * d->itemHeight; 349 amount *= 3 * d->itemHeight;
350 moveSpan_SmoothScroll(&d->scrollY, amount, 200); 350 moveSpan_SmoothScroll(
351 &d->scrollY, amount, 200 * scrollSpeedFactor_Prefs(prefs_App(), mouse_ScrollType));
351 } 352 }
352 return iTrue; 353 return iTrue;
353 } 354 }