summaryrefslogtreecommitdiff
diff options
authorEleni Maria Stea <elenimaria.stea@canonical.com>2014-04-10 17:43:20 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-04-10 17:43:20 +0000
commitc50b9cecb67d5ac2087f9e69bc39cc38082b9114 (patch)
tree310d7221440e7ca89cba91893767c2ba9abf92f3
parentca40d6f9ee0f322a160398f21049aabb1e54a1f0 (diff)
parentbb1f5cd72bb6bb14595fee0e1f44c6b8e10f0c9f (diff)
It fixes the quicklist menu appearance. Fixes: 1298859
(bzr r3776)
-rw-r--r--launcher/QuicklistMenuItem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/launcher/QuicklistMenuItem.cpp b/launcher/QuicklistMenuItem.cpp
index f07c313e1..9c8aa7613 100644
--- a/launcher/QuicklistMenuItem.cpp
+++ b/launcher/QuicklistMenuItem.cpp
@@ -203,7 +203,7 @@ void QuicklistMenuItem::RecvMouseLeave(int x, int y, unsigned long button_flags,
void QuicklistMenuItem::UpdateTexture()
{
auto const& geo = GetGeometry();
- nux::CairoGraphics cairo(CAIRO_FORMAT_ARGB32, geo.width * _scale, geo.height * _scale);
+ nux::CairoGraphics cairo(CAIRO_FORMAT_ARGB32, geo.width, geo.height);
cairo_surface_set_device_scale(cairo.GetSurface(), _scale, _scale);
UpdateTexture(cairo, geo.width / _scale, geo.height / _scale);
}