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
This commit is contained in:
2021-11-19 23:56:09 +01:00
parent dba4e290e8
commit 46b4efd062

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)