mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CInfoViewer: fix infobar size in virtual zap mode
Signed-off-by: Thilo Graf <dbt@novatux.de>
Origin commit data
------------------
Branch: ni/coolstream
Commit: 64c412071a
Author: defans <defans@bluepeercrew.us>
Date: 2016-01-03 (Sun, 03 Jan 2016)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -435,6 +435,10 @@ void CInfoViewer::paintHead()
|
||||
void CInfoViewer::paintBody()
|
||||
{
|
||||
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)
|
||||
body = new CComponentsShapeSquare(ChanInfoX, ChanNameY + header_height, BoxEndX-ChanInfoX, h_body);
|
||||
else
|
||||
|
Reference in New Issue
Block a user