~fboucault/unity-2d/dash_category_underline_color

« back to all changes in this revision

Viewing changes to launcher/LauncherList.qml

  • Committer: Olivier Tilloy
  • Date: 2011-08-10 11:58:31 UTC
  • mto: This revision was merged to the branch mainline in revision 671.
  • Revision ID: olivier.tilloy@canonical.com-20110810115831-1cjy98r6d74swtrb
[launcher] Do not display the bottom gradient until the end of the list is partially hidden.

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
 
66
66
        anchors.bottom: list.bottom
67
67
        width: topGradient.width
68
 
        height: Math.max(0, Math.min(list.contentHeight * (1 - list.visibleArea.heightRatio) - list.contentY, 50))
 
68
        height: Math.max(0, Math.min(list.contentHeight - list.contentY - list.height, 50))
69
69
        source: "artwork/gradient_more_items_bottom.png"
70
70
        z: overlayZ
71
71
    }