Merge lp:~3v1n0/unity/launcher-progressbar-offset-fix into lp:unity
Proposed by
Marco Trevisan (Treviño)
Status: | Merged |
---|---|
Approved by: | Mirco Müller |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1814 |
Proposed branch: | lp:~3v1n0/unity/launcher-progressbar-offset-fix |
Merge into: | lp:unity |
Diff against target: |
12 lines (+1/-1) 1 file modified
plugins/unityshell/src/IconRenderer.cpp (+1/-1) |
To merge this branch: | bzr merge lp:~3v1n0/unity/launcher-progressbar-offset-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Mirco Müller (community) | Approve | ||
Review via email: mp+87425@code.launchpad.net |
Commit message
IconRenderer: make progress_y position relative to the fill_y, so they will be always close
Description of the change
Launcher icon progress overlay was drawn incorrectly when using odd icon size, due to the fact that we tried to draw both the fill and the progress in the middle of the icon. Now the middle position is computed only once for positioning the fill texture, then the progress texture is added to a position relative to their sizes.
To post a comment you must log in.
Tried it with several different odd sizes. Working very nicely. It's all in the details! :)