mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
Helpbox: fix possible transparent holes behind images
This commit is contained in:
@@ -97,7 +97,9 @@ void Helpbox::addLine(const std::string& icon, const std::string& text, const in
|
||||
if (!icon.empty()){
|
||||
picon = new CComponentsPicture (0, 0, icon);
|
||||
w_picon = picon->getHeight();
|
||||
picon->doPaintBg(false);
|
||||
picon->setYPos(line->getHeight()/2 - w_picon/2);
|
||||
picon->SetTransparent(CFrameBuffer::TM_BLACK);
|
||||
line->addCCItem(picon);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user