Merge lp:~osomon/unity-2d/fix-launcher-bottom-gradient into lp:unity-2d/3.0

Proposed by Olivier Tilloy
Status: Merged
Approved by: Florian Boucault
Approved revision: 671
Merged at revision: 671
Proposed branch: lp:~osomon/unity-2d/fix-launcher-bottom-gradient
Merge into: lp:unity-2d/3.0
Diff against target: 12 lines (+1/-1)
1 file modified
launcher/LauncherList.qml (+1/-1)
To merge this branch: bzr merge lp:~osomon/unity-2d/fix-launcher-bottom-gradient
Reviewer Review Type Date Requested Status
Florian Boucault Pending
Review via email: mp+71029@code.launchpad.net

Commit message

[launcher] Do not display the bottom gradient until the end of the list is partially hidden.

Description of the change

This trivial change fixes a minor issue I just reported as bug #823877.
The bug doesn’t impair usability but it is visually disturbing.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'launcher/LauncherList.qml'
2--- launcher/LauncherList.qml 2011-08-01 11:58:35 +0000
3+++ launcher/LauncherList.qml 2011-08-10 12:01:55 +0000
4@@ -65,7 +65,7 @@
5
6 anchors.bottom: list.bottom
7 width: topGradient.width
8- height: Math.max(0, Math.min(list.contentHeight * (1 - list.visibleArea.heightRatio) - list.contentY, 50))
9+ height: Math.max(0, Math.min(list.contentHeight - list.contentY - list.height, 50))
10 source: "artwork/gradient_more_items_bottom.png"
11 z: overlayZ
12 }

Subscribers

People subscribed via source and target branches