From e315cd43d7ce881a34547d27602175a00dda30c9 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sat, 30 Apr 2022 16:31:45 +0200 Subject: [PATCH] fix centering logo in header --- src/gui/components/cc_frm_header.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/components/cc_frm_header.cpp b/src/gui/components/cc_frm_header.cpp index 84d7afe4a..9024bcab8 100644 --- a/src/gui/components/cc_frm_header.cpp +++ b/src/gui/components/cc_frm_header.cpp @@ -367,7 +367,7 @@ void CComponentsHeader::initLogo() if (prev_item) { 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; } }