cc_frm_header: ensure restore logo background before cleanup

clean background is required before paint new logo,
avoids overpaint of old logo

supplement to: fix artifacts if no logo found


Origin commit data
------------------
Commit: d0f14be9c1
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-11-20 (Sat, 20 Nov 2021)
This commit is contained in:
2021-11-20 18:42:49 +01:00
committed by vanhofen
parent b58e51118e
commit 1b2f3bc103

View File

@@ -388,7 +388,10 @@ void CComponentsHeader::initLogo()
cch_logo_obj->setYPos(height/2 - cch_logo_obj->getHeight()/2);
}
else
{
cch_logo_obj->hide();
cch_logo_obj->clearFbData();
}
}
void CComponentsHeader::addContextButton(const std::string& button_name)