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:
2017-09-15 22:19:22 +02:00
parent 3732eb851a
commit 38f80a5ca6

View File

@@ -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()