mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
fix centering logo in header
This commit is contained in:
@@ -367,7 +367,7 @@ void CComponentsHeader::initLogo()
|
|||||||
if (prev_item)
|
if (prev_item)
|
||||||
{
|
{
|
||||||
int left_tag = prev_item->getXPos() + prev_item->getWidth();
|
int left_tag = prev_item->getXPos() + prev_item->getWidth();
|
||||||
if (x_logo <= left_tag)
|
//if (x_logo <= left_tag)
|
||||||
x_logo = left_tag + logo_space/2 - w_logo/2;
|
x_logo = left_tag + logo_space/2 - w_logo/2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user