Merge lp:~tiagosh/unity-2d/fix-launcher-highlight into lp:unity-2d

Proposed by Tiago Salem Herrmann
Status: Merged
Approved by: Gerry Boland
Approved revision: 981
Merged at revision: 1002
Proposed branch: lp:~tiagosh/unity-2d/fix-launcher-highlight
Merge into: lp:unity-2d
Diff against target: 19 lines (+2/-2)
1 file modified
shell/common/IconTile.qml (+2/-2)
To merge this branch: bzr merge lp:~tiagosh/unity-2d/fix-launcher-highlight
Reviewer Review Type Date Requested Status
Gerry Boland Pending
Review via email: mp+97100@code.launchpad.net

Commit message

[shell][launcher] tiles highlight incorrect, highlight only visible at edge

Description of the change

[shell][launcher] tiles highlight incorrect, highlight only visible at edge

To post a comment you must log in.
Revision history for this message
Tiago Salem Herrmann (tiagosh) wrote :

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'shell/common/IconTile.qml'
2--- shell/common/IconTile.qml 2012-02-09 11:53:03 +0000
3+++ shell/common/IconTile.qml 2012-03-12 20:48:33 +0000
4@@ -47,13 +47,13 @@
5 smooth: true
6
7 source: {
8- if (selectedTileBackgroundImage != "" && declarativeView.focus && activeFocus) {
9+ if (selectedTileBackgroundImage != "" && declarativeView.focus && iconTile.activeFocus) {
10 return selectedTileBackgroundImage
11 } else if (tileBackgroundImage != "") {
12 return tileBackgroundImage
13 }
14
15- var actualColor = declarativeView.focus && activeFocus ? selectedBackgroundColor : color
16+ var actualColor = declarativeView.focus && iconTile.activeFocus ? selectedBackgroundColor : color
17 return "image://blended/%1color=%2alpha=%3"
18 .arg("common/artwork/round_corner_54x54.png")
19 .arg(actualColor.toString().replace("#", ""))

Subscribers

People subscribed via source and target branches