mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 19:50:27 +00:00
Increase scrolling speed with the touchpad
Currently, scrolling through a document using the touchpad is quite slow compared to scrolling through the standard Qt controls. This MR increases the speed of scrolling with the touchpad by removing the "magic" divider. CCBUG: 455014
This commit is contained in:
parent
f65a2b5f03
commit
40aa5fadb6
|
@ -3300,7 +3300,7 @@ void PageView::wheelEvent(QWheelEvent *e)
|
|||
slotScrollUp(count);
|
||||
}
|
||||
} else {
|
||||
d->scroller->scrollTo(d->scroller->finalPosition() - e->angleDelta() * multiplier / 4.0, 0);
|
||||
d->scroller->scrollTo(d->scroller->finalPosition() - e->angleDelta() * multiplier, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue