mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
CInfoViewer: fix infobar size in virtual zap mode
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -435,6 +435,10 @@ void CInfoViewer::paintHead()
|
|||||||
void CInfoViewer::paintBody()
|
void CInfoViewer::paintBody()
|
||||||
{
|
{
|
||||||
int h_body = InfoHeightY - header_height + (g_settings.infobar_casystem_display < 2 ? infoViewerBB->bottom_bar_offset : 0);
|
int h_body = InfoHeightY - header_height + (g_settings.infobar_casystem_display < 2 ? infoViewerBB->bottom_bar_offset : 0);
|
||||||
|
|
||||||
|
if(virtual_zap_mode)
|
||||||
|
h_body -= (g_settings.infobar_casystem_display < 2 ? infoViewerBB->bottom_bar_offset : 0);
|
||||||
|
|
||||||
if (body == NULL)
|
if (body == NULL)
|
||||||
body = new CComponentsShapeSquare(ChanInfoX, ChanNameY + header_height, BoxEndX-ChanInfoX, h_body);
|
body = new CComponentsShapeSquare(ChanInfoX, ChanNameY + header_height, BoxEndX-ChanInfoX, h_body);
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user