Merge lp:~hikiko/unity/unity.quicklist-scale-fix into lp:unity

Proposed by Eleni Maria Stea
Status: Merged
Approved by: Brandon Schaefer
Approved revision: no longer in the source branch.
Merged at revision: 3776
Proposed branch: lp:~hikiko/unity/unity.quicklist-scale-fix
Merge into: lp:unity
Diff against target: 12 lines (+1/-1)
1 file modified
launcher/QuicklistMenuItem.cpp (+1/-1)
To merge this branch: bzr merge lp:~hikiko/unity/unity.quicklist-scale-fix
Reviewer Review Type Date Requested Status
Brandon Schaefer (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+214943@code.launchpad.net

Commit message

It fixes the quicklist menu appearance.

Description of the change

It fixes the quicklist menu appearance.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

Nice. LGTM

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'launcher/QuicklistMenuItem.cpp'
2--- launcher/QuicklistMenuItem.cpp 2014-03-20 05:05:21 +0000
3+++ launcher/QuicklistMenuItem.cpp 2014-04-09 13:10:53 +0000
4@@ -203,7 +203,7 @@
5 void QuicklistMenuItem::UpdateTexture()
6 {
7 auto const& geo = GetGeometry();
8- nux::CairoGraphics cairo(CAIRO_FORMAT_ARGB32, geo.width * _scale, geo.height * _scale);
9+ nux::CairoGraphics cairo(CAIRO_FORMAT_ARGB32, geo.width, geo.height);
10 cairo_surface_set_device_scale(cairo.GetSurface(), _scale, _scale);
11 UpdateTexture(cairo, geo.width / _scale, geo.height / _scale);
12 }