fix centering logo in header

This commit is contained in:
svenhoefer
2022-04-30 16:31:45 +02:00
committed by Thilo Graf
parent db19aa667d
commit e315cd43d7

View File

@@ -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;
} }
} }