Commit 08c4d4f7 authored by David Hurka's avatar David Hurka 🐬
Browse files

Do not disable flick if cursor has been wrapped

BUG: 420556
FIXED-IN: 1.11.3
parent 02c3bd69
Pipeline #39218 passed with stage
in 51 minutes and 43 seconds
......@@ -2359,10 +2359,6 @@ void PageView::mouseReleaseEvent(QMouseEvent *e)
case Okular::Settings::EnumMouseMode::Browse: {
d->scroller->handleInput(QScroller::InputRelease, e->pos() + d->mouseGrabOffset, e->timestamp());
// disable flick if the cursor has wrapped around
if (d->mouseGrabOffset != QPoint(0, 0))
// return the cursor to its normal state after dragging
if (cursor().shape() == Qt::ClosedHandCursor)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment