From 13119c0ee36dfb74e84db205564187ca7c97798b Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Mon, 9 Jul 2012 15:00:08 +0200 Subject: [PATCH] menue.cpp:-fix OSD on corners switch (upper side) Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/5420af701acd8a2b1f0b27015137c1dadc93f5b3 Author: Jacek Jendrzej Date: 2012-07-09 (Mon, 09 Jul 2012) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/widget/menue.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index ce3677394..7a523c184 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -876,6 +876,8 @@ void CMenuWidget::paint() corners = g_settings.rounded_corners; if(!g_settings.rounded_corners){ frameBuffer->paintBackgroundBoxRel(x, y+full_height-hint_height, full_width, CORNER_RADIUS_LARGE-2+SHADOW_OFFSET); + }else{ + frameBuffer->paintBackgroundBoxRel(x, y, full_width, CORNER_RADIUS_LARGE-2+SHADOW_OFFSET); } }