mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CColorChooser: fix possible artefacts on screen after closed window
Window was painted with shadow but hide() method didn't know about this.
This commit is contained in:
@@ -271,7 +271,7 @@ int CColorChooser::exec(CMenuTarget* parent, const std::string &)
|
||||
|
||||
void CColorChooser::hide()
|
||||
{
|
||||
frameBuffer->paintBackgroundBoxRel(x, y, width, height);
|
||||
frameBuffer->paintBackgroundBoxRel(x, y, width + OFFSET_SHADOW, height + OFFSET_SHADOW);
|
||||
}
|
||||
|
||||
void CColorChooser::paint()
|
||||
|
Reference in New Issue
Block a user