diff options
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r-- | src/ui/documentwidget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 33b419c8..f54b1e3a 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -1516,8 +1516,8 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e | |||
1516 | } | 1516 | } |
1517 | smoothScroll_DocumentWidget_( | 1517 | smoothScroll_DocumentWidget_( |
1518 | d, | 1518 | d, |
1519 | -3 * ev->wheel.y * lineHeight_Text(default_FontId), | 1519 | -3 * ev->wheel.y * lineHeight_Text(paragraph_FontId), |
1520 | gap_UI * smoothSpeed_DocumentWidget_ + | 1520 | gap_Text * smoothSpeed_DocumentWidget_ + |
1521 | (isSmoothScrolling_DocumentWidget_(d) ? d->smoothSpeed : 0)); | 1521 | (isSmoothScrolling_DocumentWidget_(d) ? d->smoothSpeed : 0)); |
1522 | #endif | 1522 | #endif |
1523 | d->noHoverWhileScrolling = iTrue; | 1523 | d->noHoverWhileScrolling = iTrue; |