~nick-dedekind/unity8/indicators.hint-interval

« back to all changes in this revision

Viewing changes to plugins/DashViews/listviewwithpageheader.cpp

  • Committer: Nick Dedekind
  • Date: 2014-03-07 15:54:57 UTC
  • mfrom: (638.1.118 unity8)
  • Revision ID: nicholas.dedekind@gmail.com-20140307155457-f0s1zu5ll2czt3rq
merged with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1073
1073
{
1074
1074
    const qreal heightDiff = newGeometry.height() - oldGeometry.height();
1075
1075
    if (heightDiff != 0) {
1076
 
        if (oldGeometry.y() + oldGeometry.height() + m_clipItem->y() < contentY() && !m_visibleItems.isEmpty()) {
 
1076
        if (oldGeometry.y() + oldGeometry.height() + m_clipItem->y() <= contentY() && !m_visibleItems.isEmpty()) {
1077
1077
            ListItem *firstItem = m_visibleItems.first();
1078
1078
            firstItem->setY(firstItem->y() - heightDiff);
1079
1079
            adjustMinYExtent();