From a5bd75527a4364b1b0f08880ef113f8fd5b20aff Mon Sep 17 00:00:00 2001 From: Jacek Jendrzej Date: Fri, 10 May 2013 13:43:23 +0200 Subject: [PATCH] supplement to 0c34433d23dd8737419e7d1dbde6e49e6523fc73 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/3a62b97fcb70eca41c6a28014cca01a40eababff Author: Jacek Jendrzej Date: 2013-05-10 (Fri, 10 May 2013) ------------------ 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, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/widget/menue.cpp b/src/gui/widget/menue.cpp index fb55158bf..fb8412a1c 100644 --- a/src/gui/widget/menue.cpp +++ b/src/gui/widget/menue.cpp @@ -967,7 +967,7 @@ void CMenuWidget::paintItems() int item_height=height-(item_start_y-y); frameBuffer->paintBoxRel(x+ width,item_start_y, 15, item_height, COL_MENUCONTENT_PLUS_1, RADIUS_MIN); frameBuffer->paintBoxRel(x+ width +2, item_start_y+ 2+ current_page*(item_height-4)/total_pages, 11, (item_height-4)/total_pages, COL_MENUCONTENT_PLUS_3, RADIUS_MIN); - if(current_page==total_pages-1){ + if((current_page==total_pages-1) || (current_page == 0 && RADIUS_MIN)){ frameBuffer->paintBoxRel(x,item_start_y, width,item_height, COL_MENUCONTENT_PLUS_0); } }