Commit 290b070f authored by Nate Graham's avatar Nate Graham 🔩
Browse files

Merge branch 'release/20.08' into master

parents e238f21b a5be0149
Pipeline #34387 passed with stage
in 43 minutes and 50 seconds
......@@ -432,6 +432,7 @@ PageView::PageView(QWidget *parent, Okular::Document *document)
prop.setScrollMetric(QScrollerProperties::MaximumVelocity, 1);
prop.setScrollMetric(QScrollerProperties::HorizontalOvershootPolicy, QScrollerProperties::OvershootAlwaysOff);
prop.setScrollMetric(QScrollerProperties::VerticalOvershootPolicy, QScrollerProperties::OvershootAlwaysOff);
prop.setScrollMetric(QScrollerProperties::DragStartDistance, 0.0);
d->scroller->setScrollerProperties(prop);
connect(d->scroller, &QScroller::stateChanged, this, &PageView::slotRequestVisiblePixmaps);
......
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