mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
- menue.cpp: fix details_line hight
* former code matches only by chance and will fail, when another value than 2 is set in INFO_BOX_Y_OFFSET (cc_item_infobox.h)
This commit is contained in:
@@ -1337,7 +1337,7 @@ void CMenuWidget::paintHint(int pos)
|
|||||||
//init details line and infobox dimensions
|
//init details line and infobox dimensions
|
||||||
int ypos1 = item->getYPosition();
|
int ypos1 = item->getYPosition();
|
||||||
int ypos1a = ypos1 + (iheight/2)-2;
|
int ypos1a = ypos1 + (iheight/2)-2;
|
||||||
int ypos2a = ypos2 + (hint_height/2) - INFO_BOX_Y_OFFSET;
|
int ypos2a = ypos2 + (hint_height/2)-2;
|
||||||
int markh = hint_height > rad*2 ? hint_height - rad*2 : hint_height;
|
int markh = hint_height > rad*2 ? hint_height - rad*2 : hint_height;
|
||||||
int imarkh = iheight/2+1;
|
int imarkh = iheight/2+1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user