From dfa73458cce014cc5bd0cedc9327228bce62878c Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Thu, 2 May 2013 20:13:17 +0200 Subject: [PATCH] src/gui/epgview.cpp:use paintBackgroundBoxRel only for hide --- src/gui/epgview.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/epgview.cpp b/src/gui/epgview.cpp index 41b1105c3..1d3412b12 100644 --- a/src/gui/epgview.cpp +++ b/src/gui/epgview.cpp @@ -1120,11 +1120,11 @@ void CEpgData::showTimerEventBar (bool pshow) frameBuffer->getIconSize(NEUTRINO_ICON_BUTTON_RED, &icol_w, &icol_h); h = std::max(fh, icol_h+4); - frameBuffer->paintBackgroundBoxRel(sx,y,ox,h); // hide only? - if (! pshow) + if (! pshow){ + frameBuffer->paintBackgroundBoxRel(sx,y,ox,h); return; - + } frameBuffer->paintBoxRel(sx,y,ox,h, COL_INFOBAR_SHADOW_PLUS_1, RADIUS_LARGE, CORNER_BOTTOM);//round /* 2 * ICON_LARGE_WIDTH for potential 16:9 and DD icons */