Merge lp://qastaging/~vanvugt/unity/fix-747682-trunk into lp://qastaging/unity
Proposed by
Daniel van Vugt
Status: | Merged |
---|---|
Approved by: | Mirco Müller |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1604 |
Proposed branch: | lp://qastaging/~vanvugt/unity/fix-747682-trunk |
Merge into: | lp://qastaging/unity |
Diff against target: |
19 lines (+3/-2) 1 file modified
plugins/unityshell/src/unityshell.cpp (+3/-2) |
To merge this branch: | bzr merge lp://qastaging/~vanvugt/unity/fix-747682-trunk |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mirco Müller (community) | Approve | ||
Review via email:
|
Description of the change
Panel shadow opacity should match panel opacity. (LP: #747682)
Now the opacity (hence the darkness) of the panel shadow scales according to the opacity setting of the panel itself. It looks much nicer and more realistic.
This fix was developed and tested on natty/unity-3, and hand-ported to unity-4. It should still work.
To post a comment you must log in.
I think we should cap the shadow opacity at a minimum value, otherwise it becomes pretty useless with low values. I don't know, could be 0.5 or even less... Also, the shadow is not redrawn when you change the panel opacity, but after clicking on the desktop (should be connected to the same draw signal the panel receives when the panel opacity option changes)