mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 02:41:21 +02:00
epgview.cpp: fix possible overlapping text
Text was overlapping the navibar in some cases. Space for text was insufficient calculated.
This commit is contained in:
@@ -331,9 +331,9 @@ void CEpgData::showText(int startPos, int ypos, bool has_cover, bool fullClear)
|
||||
CRateBanner cc_starbar(sx+OFFSET_INNER_MID+cover_offset, y+OFFSET_INNER_MID, stars, max_stars, provider_logo);
|
||||
cc_starbar.paint();
|
||||
|
||||
medlinecount = (sb - cc_starbar.getHeight()) / medlineheight;
|
||||
medlinecount = (sb - cc_starbar.getHeight() - OFFSET_INNER_MID) / medlineheight;
|
||||
y += cc_starbar.getHeight() + OFFSET_INNER_MID;
|
||||
}
|
||||
y += medlineheight;
|
||||
}
|
||||
|
||||
for (int i = startPos; i < textSize && i < startPos + medlinecount; i++, y += medlineheight)
|
||||
|
Reference in New Issue
Block a user