on xenial help sign in
Make showHeader not break scrolling back to the top
commitee7bd542fefb859aa7d8f79517a96860508b3f29 authorAlbert Astals <albert.astals@canonical.com> dateThu 13 Jun 2013, 11:18 (13 years ago) parent32c643b
1 file changed+3
plugins/ListViewWithPageHeader/listviewwithpageheader.cpp+3
plugins/ListViewWithPageHeader/listviewwithpageheader.cpp+3
@@ -330,6 +330,9 @@ void ListViewWithPageHeader::viewportMoved(Qt::Orientations orient)
330330 updateClipItem();
331331 ListItem *firstItem = m_visibleItems.first();
332332 firstItem->setY(firstItem->y() + diff);
333+ if (m_headerShowAnimation->isRunning()) {
334+ adjustMinYExtent();
335+ }
333336 }
334337
335338 m_previousContentY = contentY();