Commit 091eaa75 authored by Kezi Olio's avatar Kezi Olio Committed by Oliver Sander

smooth thumbnail click animation

parent 73c266ef
Pipeline #10491 canceled with stage
in 3 minutes and 46 seconds
......@@ -743,7 +743,7 @@ void ThumbnailListPrivate::mouseReleaseEvent( QMouseEvent * e )
vp.rePos.normalizedY = double(p.y()) / double(item->rect().height());
vp.rePos.pos = Okular::DocumentViewport::Center;
vp.rePos.enabled = true;
m_document->setViewport( vp );
m_document->setViewport( vp, nullptr, true);
}
setCursor( Qt::OpenHandCursor );
m_mouseGrabPos.setX( 0 );
......
Markdown is supported
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