mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
fix centering logo in header
Origin commit data
------------------
Commit: 2811ca2569
Author: vanhofen <vanhofen@gmx.de>
Date: 2022-04-30 (Sat, 30 Apr 2022)
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